Home
last modified time | relevance | path

Searched refs:Rew (Results 1 – 5 of 5) sorted by relevance

/external/llvm-project/clang/tools/libclang/
DRewrite.cpp27 void clang_CXRewriter_insertTextBefore(CXRewriter Rew, CXSourceLocation Loc, in clang_CXRewriter_insertTextBefore() argument
29 assert(Rew); in clang_CXRewriter_insertTextBefore()
30 clang::Rewriter &R = *reinterpret_cast<clang::Rewriter *>(Rew); in clang_CXRewriter_insertTextBefore()
34 void clang_CXRewriter_replaceText(CXRewriter Rew, CXSourceRange ToBeReplaced, in clang_CXRewriter_replaceText() argument
36 assert(Rew); in clang_CXRewriter_replaceText()
37 clang::Rewriter &R = *reinterpret_cast<clang::Rewriter *>(Rew); in clang_CXRewriter_replaceText()
42 void clang_CXRewriter_removeText(CXRewriter Rew, CXSourceRange ToBeRemoved) { in clang_CXRewriter_removeText() argument
43 assert(Rew); in clang_CXRewriter_removeText()
44 clang::Rewriter &R = *reinterpret_cast<clang::Rewriter *>(Rew); in clang_CXRewriter_removeText()
48 int clang_CXRewriter_overwriteChangedFiles(CXRewriter Rew) { in clang_CXRewriter_overwriteChangedFiles() argument
[all …]
/external/llvm-project/clang/include/clang-c/
DRewrite.h30 CINDEX_LINKAGE void clang_CXRewriter_insertTextBefore(CXRewriter Rew, CXSourceLocation Loc,
37 CINDEX_LINKAGE void clang_CXRewriter_replaceText(CXRewriter Rew, CXSourceRange ToBeReplaced,
43 CINDEX_LINKAGE void clang_CXRewriter_removeText(CXRewriter Rew, CXSourceRange ToBeRemoved);
49 CINDEX_LINKAGE int clang_CXRewriter_overwriteChangedFiles(CXRewriter Rew);
54 CINDEX_LINKAGE void clang_CXRewriter_writeMainFileToStdOut(CXRewriter Rew);
59 CINDEX_LINKAGE void clang_CXRewriter_dispose(CXRewriter Rew);
/external/llvm-project/clang/unittests/libclang/
DLibclangTest.cpp848 CXRewriter Rew = nullptr; member in LibclangRewriteTest
858 Rew = clang_CXRewriter_create(ClangTU); in SetUp()
862 clang_CXRewriter_dispose(Rew); in TearDown()
886 clang_CXRewriter_replaceText(Rew, Rng, "MAIN"); in TEST_F()
888 ASSERT_EQ(clang_CXRewriter_overwriteChangedFiles(Rew), 0); in TEST_F()
897 clang_CXRewriter_replaceText(Rew, Rng, "foo"); in TEST_F()
899 ASSERT_EQ(clang_CXRewriter_overwriteChangedFiles(Rew), 0); in TEST_F()
908 clang_CXRewriter_replaceText(Rew, Rng, "patatino"); in TEST_F()
910 ASSERT_EQ(clang_CXRewriter_overwriteChangedFiles(Rew), 0); in TEST_F()
917 clang_CXRewriter_insertTextBefore(Rew, Loc, "ro"); in TEST_F()
[all …]
/external/antlr/runtime/C/
DREADME519 $text will have rewrites. Here's a sample test program for grammar Rew.
521 FileReader groupFileR = new FileReader("Rew.stg");
/external/antlr/tool/
DCHANGES.txt2160 $text will have rewrites. Here's a sample test program for grammar Rew.
2162 FileReader groupFileR = new FileReader("Rew.stg");