/external/clang/lib/Rewrite/Frontend/ |
RewriteTest.cpp | 21 const LangOptions &LangOpts = PP.getLangOpts(); 23 TokenRewriter Rewriter(SM.getMainFileID(), SM, LangOpts);
|
/external/clang/include/clang/Frontend/ |
DiagnosticRenderer.h | 48 const LangOptions &LangOpts; 70 DiagnosticRenderer(const LangOptions &LangOpts, 155 DiagnosticNoteRenderer(const LangOptions &LangOpts, 157 : DiagnosticRenderer(LangOpts, DiagOpts) {}
|
LogDiagnosticPrinter.h | 47 const LangOptions *LangOpts; 69 LangOpts = &LO;
|
CompilerInvocation.h | 57 std::shared_ptr<LangOptions> LangOpts; 76 LangOptions *getLangOpts() { return LangOpts.get(); } 77 const LangOptions *getLangOpts() const { return LangOpts.get(); }
|
VerifyDiagnosticConsumer.h | 217 const LangOptions *LangOpts; 250 void BeginSourceFile(const LangOptions &LangOpts,
|
/external/clang/lib/Lex/ |
TokenConcatenation.cpp | 49 const LangOptions &LangOpts = PP.getLangOpts(); 57 LangOpts.CPlusPlus11); 64 return IsStringPrefix(StringRef(TokPtr, length), LangOpts.CPlusPlus11); 67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11);
|
/external/clang/include/clang/Edit/ |
EditedSource.h | 29 const LangOptions &LangOpts; 47 EditedSource(const SourceManager &SM, const LangOptions &LangOpts, 49 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), 53 const LangOptions &getLangOpts() const { return LangOpts; }
|
Commit.h | 49 const LangOptions &LangOpts; 60 Commit(const SourceManager &SM, const LangOptions &LangOpts, 62 : SourceMgr(SM), LangOpts(LangOpts), PPRec(PPRec), Editor(nullptr),
|
/external/clang/unittests/Lex/ |
PPConditionalDirectiveRecordTest.cpp | 49 LangOptions LangOpts; 97 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, 99 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr,
|
LexerTest.cpp | 69 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, 71 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 99 SourceMgr, LangOpts, &Invalid); 110 LangOptions LangOpts; 296 EXPECT_TRUE(Lexer::isAtStartOfMacroExpansion(lsqrLoc, SourceMgr, LangOpts, &Loc)); 298 EXPECT_FALSE(Lexer::isAtStartOfMacroExpansion(idLoc, SourceMgr, LangOpts)); 299 EXPECT_FALSE(Lexer::isAtEndOfMacroExpansion(idLoc, SourceMgr, LangOpts)); 300 EXPECT_TRUE(Lexer::isAtEndOfMacroExpansion(rsqrLoc, SourceMgr, LangOpts, &Loc)); 304 CharSourceRange::getTokenRange(lsqrLoc, idLoc), SourceMgr, LangOpts); 307 SourceMgr, LangOpts); [all...] |
PPCallbacksTest.cpp | 133 LangOptions LangOpts; 169 HeaderSearch HeaderInfo(HSOpts, SourceMgr, Diags, LangOpts, 174 Preprocessor PP(PPOpts, Diags, LangOpts, SourceMgr, HeaderInfo, ModLoader,
|
/external/clang/include/clang/AST/ |
PrettyPrinter.h | 38 : LangOpts(LO), Indentation(2), SuppressSpecifiers(false), 48 LangOptions LangOpts;
|
/external/clang/include/clang/StaticAnalyzer/Core/PathSensitive/ |
AnalysisManager.h | 35 const LangOptions &LangOpts; 92 return LangOpts;
|
/external/clang/include/clang/Rewrite/Core/ |
Rewriter.h | 129 const LangOptions *LangOpts; 153 : SourceMgr(&SM), LangOpts(&LO) {} 154 explicit Rewriter() : SourceMgr(nullptr), LangOpts(nullptr) {} 158 LangOpts = &LO; 161 const LangOptions &getLangOpts() const { return *LangOpts; }
|
/external/clang/lib/AST/ |
TemplateBase.cpp | 489 LangOptions LangOpts; 490 LangOpts.CPlusPlus = true; 491 PrintingPolicy Policy(LangOpts); 500 LangOptions LangOpts; 501 LangOpts.CPlusPlus = true; 502 PrintingPolicy Policy(LangOpts);
|
/external/clang/lib/StaticAnalyzer/Core/ |
PlistDiagnostics.cpp | 32 const LangOptions &LangOpts; 37 const LangOptions &LangOpts, 64 LangOpts(LO), 87 const LangOptions &LangOpts, 110 EmitRange(o, SM, LangOpts, CharSourceRange::getTokenRange(StartEdge), FM, 115 EmitRange(o, SM, LangOpts, CharSourceRange::getTokenRange(EndEdge), FM, 139 const LangOptions &LangOpts, 157 EmitLocation(o, SM, LangOpts, L, FM, indent); 168 EmitRange(o, SM, LangOpts, CharSourceRange::getTokenRange(*I), FM, 199 const LangOptions &LangOpts, [all...] |
HTMLDiagnostics.cpp | 585 const LangOptions &LangOpts = R.getLangOpts(); 606 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1;
|
/external/clang/include/clang/Lex/ |
Lexer.h | 54 LangOptions LangOpts; // LangOpts enabled by this language (cache). 108 Lexer(SourceLocation FileLoc, const LangOptions &LangOpts, 115 const SourceManager &SM, const LangOptions &LangOpts); 128 const LangOptions &getLangOpts() const { return LangOpts; } 173 assert((!Val || LexingRawMode || LangOpts.TraditionalCPP) && 250 const LangOptions &LangOpts, 260 const LangOptions &LangOpts, 274 const LangOptions &LangOpts, 283 const LangOptions &LangOpts); [all...] |
ModuleMap.h | 42 const LangOptions &LangOpts; 216 /// \param LangOpts Language options for this translation unit. 220 const LangOptions &LangOpts, const TargetInfo *Target,
|
/external/clang/lib/CodeGen/ |
BackendUtil.cpp | 51 const LangOptions &LangOpts; 114 : Diags(_Diags), CodeGenOpts(CGOpts), TargetOpts(TOpts), LangOpts(LOpts), 132 // We need this wrapper to access LangOpts and CGOpts from extension functions 137 const LangOptions &LangOpts) 138 : PassManagerBuilder(), CGOpts(CGOpts), LangOpts(LangOpts) {} 140 const LangOptions &getLangOpts() const { return LangOpts; } 143 const LangOptions &LangOpts; 231 PassManagerBuilderWrapper PMBuilder(CodeGenOpts, LangOpts); 251 if (LangOpts.ObjCAutoRefCount) [all...] |
CodeGenAction.cpp | 46 const LangOptions &LangOpts; 60 const LangOptions &langopts, bool TimePasses, 64 TargetOpts(targetopts), LangOpts(langopts), AsmOutStream(OS), 174 EmitBackendOutput(Diags, CodeGenOpts, TargetOpts, LangOpts,
|
/external/clang/lib/Frontend/ |
InitPreprocessor.cpp | 293 static void AddObjCXXARCLibstdcxxDefines(const LangOptions &LangOpts, 322 if (LangOpts.ObjCARCWeak) { 345 const LangOptions &LangOpts, 348 if (!LangOpts.MSVCCompat && !LangOpts.TraditionalCPP) 350 if (LangOpts.Freestanding) 355 if (!LangOpts.CPlusPlus) { 356 if (LangOpts.C11) 358 else if (LangOpts.C99) 360 else if (!LangOpts.GNUMode && LangOpts.Digraphs [all...] |
SerializedDiagnosticPrinter.cpp | 55 SDiagsRenderer(SDiagsWriter &Writer, const LangOptions &LangOpts, 57 : DiagnosticNoteRenderer(LangOpts, DiagOpts), Writer(Writer) {} 96 : LangOpts(nullptr), OriginalInstance(false), State(State) {} 100 : LangOpts(nullptr), OriginalInstance(true), 112 LangOpts = &LO; 181 const LangOptions *LangOpts; 309 SM, *LangOpts); 557 assert(Info.hasSourceManager() && LangOpts && 559 SDiagsRenderer Renderer(*this, *LangOpts, &*State->DiagOpts);
|
/external/clang/unittests/Basic/ |
SourceManagerTest.cpp | 49 LangOptions LangOpts; 82 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, 84 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 199 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, 201 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr, 297 HeaderSearch HeaderInfo(new HeaderSearchOptions, SourceMgr, Diags, LangOpts, 299 Preprocessor PP(new PreprocessorOptions(), Diags, LangOpts, SourceMgr,
|
/external/clang/lib/ARCMigrate/ |
Transforms.cpp | 548 const LangOptions &LangOpts = pass.Ctx.getLangOpts(); 553 SM, LangOpts, &Invalid);
|