/*===-- clang-c/Rewrite.h - C CXRewriter --------------------------*- C -*-===*\
|* *|
|* Part of the LLVM Project, under the Apache License v2.0 with LLVM *|
|* Exceptions. *|
|* See https://llvm.org/LICENSE.txt for license information. *|
|* SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception *|
|* *|
|*===----------------------------------------------------------------------===*/
typedef void *CXRewriter;
/**
* Create CXRewriter.
*/
CINDEX_LINKAGE CXRewriter ;
/**
* Insert the specified string at the specified location in the original buffer.
*/
CINDEX_LINKAGE void ;
/**
* Replace the specified range of characters in the input with the specified
* replacement.
*/
CINDEX_LINKAGE void ;
/**
* Remove the specified range.
*/
CINDEX_LINKAGE void ;
/**
* Save all changed files to disk.
* Returns 1 if any files were not saved successfully, returns 0 otherwise.
*/
CINDEX_LINKAGE int ;
/**
* Write out rewritten version of the main file to stdout.
*/
CINDEX_LINKAGE void ;
/**
* Free the given CXRewriter.
*/
CINDEX_LINKAGE void ;