HomeSort by relevance Sort by last modified time
    Searched full:rewriter (Results 1 - 25 of 64) sorted by null

1 2 3

  /external/clang/test/Rewriter/
finally.m 7 return(0); // expected-warning{{rewriter doesn't support user-specified control flow semantics for @try/@finally (code may not execute properly)}}
31 return; // The rewriter knows how to generate code for implicit finally
37 return; // The rewriter knows how to generate code for implicit finally
  /external/clang/lib/Rewrite/
RewriteTest.cpp 1 //===--- RewriteTest.cpp - Rewriter playground ----------------------------===//
23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts);
26 for (TokenRewriter::token_iterator I = Rewriter.token_begin(),
27 E = Rewriter.token_end(); I != E; ++I) {
30 Rewriter.AddTokenBefore(I, "<i>");
31 Rewriter.AddTokenAfter(I, "</i>");
36 for (TokenRewriter::token_iterator I = Rewriter.token_begin(),
37 E = Rewriter.token_end(); I != E; ++I)
CMakeLists.txt 13 Rewriter.cpp
Rewriter.cpp 1 //===--- Rewriter.cpp - Code rewriting interface --------------------------===//
10 // This file defines the Rewriter class, which is used for code
15 #include "clang/Rewrite/Rewriter.h"
114 // Rewriter class
119 int Rewriter::getRangeSize(const CharSourceRange &Range,
152 int Rewriter::getRangeSize(SourceRange Range, RewriteOptions opts) const {
163 std::string Rewriter::getRewrittenText(SourceRange Range) const {
207 unsigned Rewriter::getLocationOffsetAndFileID(SourceLocation Loc,
218 RewriteBuffer &Rewriter::getEditBuffer(FileID FID) {
233 bool Rewriter::InsertText(SourceLocation Loc, llvm::StringRef Str
    [all...]
Android.mk 30 Rewriter.cpp \
TokenRewriter.cpp 62 assert(MapIt != TokenAtLoc.end() && "iterator not in rewriter?");
67 /// AddToken - Add the specified token into the Rewriter before the other
75 assert(InsertSuccess && "Token location already in rewriter!");
FrontendActions.cpp 79 Rewriter.reset(new FixItRewriter(CI.getDiagnostics(), CI.getSourceManager(),
86 Rewriter->WriteFixedFiles();
HTMLPrint.cpp 23 #include "clang/Rewrite/Rewriter.h"
34 Rewriter R;
HTMLRewrite.cpp 16 #include "clang/Rewrite/Rewriter.h"
33 void html::HighlightRange(Rewriter &R, SourceLocation B, SourceLocation E,
107 void html::EscapeText(Rewriter &R, FileID FID,
228 void html::AddLineNumbers(Rewriter& R, FileID FID) {
272 void html::AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID,
358 void html::SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP) {
451 void html::HighlightMacros(Rewriter &R, FileID FID, const Preprocessor& PP) {
  /external/clang/include/clang/Rewrite/
FixItRewriter.h 1 //===--- FixItRewriter.h - Fix-It Rewriter Diagnostic Client ----*- C++ -*-===//
20 #include "clang/Rewrite/Rewriter.h"
45 /// \brief The rewriter used to perform the various code
47 Rewriter Rewrite;
57 /// \brief The number of rewriter failures.
61 typedef Rewriter::buffer_iterator iterator;
63 /// \brief Initialize a new fix-it rewriter.
67 /// \brief Destroy the fix-it rewriter.
HTMLRewrite.h 23 class Rewriter;
33 void HighlightRange(Rewriter &R, SourceLocation B, SourceLocation E,
40 inline void HighlightRange(Rewriter &R, SourceRange Range,
53 void EscapeText(Rewriter& R, FileID FID,
63 void AddLineNumbers(Rewriter& R, FileID FID);
65 void AddHeaderFooterInternalBuiltinCSS(Rewriter& R, FileID FID,
70 void SyntaxHighlight(Rewriter &R, FileID FID, const Preprocessor &PP);
76 void HighlightMacros(Rewriter &R, FileID FID, const Preprocessor &PP);
Rewriter.h 1 //===--- Rewriter.h - Code rewriting interface ------------------*- C++ -*-===//
10 // This file defines the Rewriter class, which is used for code
30 class Rewriter;
41 friend class Rewriter;
92 private: // Methods only usable by Rewriter.
124 /// Rewriter - This is the main interface to the rewrite buffers. Its primary
127 class Rewriter {
151 explicit Rewriter(SourceManager &SM, const LangOptions &LO)
153 explicit Rewriter() : SourceMgr(0), LangOpts(0) {}
TokenRewriter.h 1 //===--- TokenRewriter.h - Token-based Rewriter -----------------*- C++ -*-===//
70 /// AddToken - Add the specified token into the Rewriter before the other
ASTConsumers.h 29 // ObjC rewriter: attempts to rewrite ObjC constructs into pure C code.
Rewriters.h 1 //===--- Rewriters.h - Rewriter implementations -------------*- C++ -*-===//
FrontendActions.h 31 llvm::OwningPtr<FixItRewriter> Rewriter;
  /packages/apps/QuickSearchBox/src/com/android/quicksearchbox/util/
JavaNetHttpHelper.java 50 * @param rewriter URI rewriter
53 public JavaNetHttpHelper(UrlRewriter rewriter, String userAgent) {
55 mRewriter = rewriter;
178 * A Url rewriter that does nothing, i.e., returns the
  /external/clang/lib/ARCMigrate/
ARCMT.cpp 16 #include "clang/Rewrite/Rewriter.h"
425 Rewriter &rewriter; member in class:__anon4067::RewritesApplicator
430 RewritesApplicator(Rewriter &rewriter, ASTContext &ctx,
432 : rewriter(rewriter), Ctx(ctx), Listener(listener) {
442 bool err = rewriter.InsertText(loc, text, /*InsertAfter=*/true,
449 Rewriter::RewriteOptions removeOpts;
454 bool err = rewriter.RemoveText(range, removeOpts)
    [all...]
  /external/llvm/lib/CodeGen/
VirtRegRewriter.h 26 /// createVirtRegRewriter - Create an return a rewriter object, as specified
  /external/v8/src/
rewriter.h 36 class Rewriter {
  /external/qemu/proxy/
proxy_http.c 48 /* use the rewriter for HTTP */
49 PROXY_LOG("%s: using HTTP rewriter", __FUNCTION__);
52 PROXY_LOG("%s: using HTTP rewriter", __FUNCTION__);
  /external/clang/test/
CMakeLists.txt 20 "Rewriter"
  /external/llvm/lib/Transforms/Scalar/
IndVarSimplify.cpp 134 void RewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter);
136 void SimplifyIVUsers(SCEVExpander &Rewriter);
137 void SimplifyIVUsersNoRewrite(Loop *L, SCEVExpander &Rewriter);
147 void RewriteIVExpressions(Loop *L, SCEVExpander &Rewriter);
150 PHINode *IndVar, SCEVExpander &Rewriter);
173 /// rewriter can replace the original value. SCEV guarantees that it
515 void IndVarSimplify::RewriteLoopExitValues(Loop *L, SCEVExpander &Rewriter) {
576 Value *ExitVal = Rewriter.expandCodeFor(ExitValue, PN->getType(), Inst);
614 // so that the rewriter doesn't trip over it later.
615 Rewriter.clearInsertPoint()
    [all...]
  /external/clang/include/clang/Frontend/
FrontendOptions.h 47 RewriteObjC, ///< ObjC->C Rewriter.
48 RewriteTest, ///< Rewriter playground
  /external/clang/lib/StaticAnalyzer/Core/
HTMLDiagnostics.cpp 20 #include "clang/Rewrite/Rewriter.h"
60 void HandlePiece(Rewriter& R, FileID BugFileID,
63 void HighlightRange(Rewriter& R, FileID BugFileID, SourceRange Range,
172 // Create a new rewriter to generate HTML.
173 Rewriter R(const_cast<SourceManager&>(SMgr), PP.getLangOptions());
314 void HTMLDiagnostics::HandlePiece(Rewriter& R, FileID BugFileID,
490 // but needs some help from someone more familiar with the rewriter.
545 void HTMLDiagnostics::HighlightRange(Rewriter& R, FileID BugFileID,

Completed in 371 milliseconds

1 2 3