/external/clang/lib/Frontend/ |
ASTUnit.cpp | 269 const LangOptions &LangOpts, 282 if (LangOpts.CPlusPlus || !isa<TagDecl>(ND)) 291 if (LangOpts.CPlusPlus) 296 if (LangOpts.CPlusPlus || isa<ObjCInterfaceDecl>(ND)) 308 if (LangOpts.CPlusPlus11) 316 if (LangOpts.CPlusPlus) 514 bool ReadLanguageOptions(const LangOptions &LangOpts, 519 LangOpt = LangOpts; 579 void BeginSourceFile(const LangOptions &LangOpts, [all...] |
LogDiagnosticPrinter.cpp | 24 : OS(os), LangOpts(nullptr), DiagOpts(diags),
|
TextDiagnostic.cpp | 667 const LangOptions &LangOpts, 669 : DiagnosticRenderer(LangOpts, DiagOpts), OS(OS) {} 811 if (LangOpts.MSCVersion && LangOpts.MSCVersion < 170000000) 857 TokSize = Lexer::MeasureTokenLength(E, SM, LangOpts); [all...] |
CompilerInstance.cpp | 844 static InputKind getSourceInputKindFromOptions(const LangOptions &LangOpts) { 845 if (LangOpts.OpenCL) 847 if (LangOpts.CUDA) 849 if (LangOpts.ObjC1) 850 return LangOpts.CPlusPlus? IK_ObjCXX : IK_ObjC; 851 return LangOpts.CPlusPlus? IK_CXX : IK_C; [all...] |
/external/clang/include/clang/Basic/ |
Module.h | 300 /// \param LangOpts The language options used for the current 308 bool isAvailable(const LangOptions &LangOpts, 409 /// \param LangOpts The set of language options that will be used to 415 const LangOptions &LangOpts,
|
IdentifierTable.h | 426 /// language keywords for the language specified by \p LangOpts. 427 IdentifierTable(const LangOptions &LangOpts, 523 void AddKeywords(const LangOptions &LangOpts);
|
/external/clang/tools/clang-check/ |
ClangCheck.cpp | 121 const clang::LangOptions& LangOpts, 123 : clang::FixItRewriter(Diags, SourceMgr, LangOpts, FixItOpts) {
|
/external/clang/lib/Rewrite/Core/ |
Rewriter.cpp | 156 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); 195 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); 205 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); 345 To->printPretty(S, nullptr, PrintingPolicy(*LangOpts)); 356 From->printPretty(S, nullptr, PrintingPolicy(*LangOpts));
|
/external/clang/lib/CodeGen/ |
CodeGenModule.cpp | 78 : Context(C), LangOpts(C.getLangOpts()), CodeGenOpts(CGO), TheModule(M), 112 if (LangOpts.ObjC1) 114 if (LangOpts.OpenCL) 116 if (LangOpts.OpenMP) 118 if (LangOpts.CUDA) 122 if (LangOpts.Sanitize.Thread || 165 switch (LangOpts.ObjCRuntime.getKind()) { 666 static bool hasUnwindExceptions(const LangOptions &LangOpts) { 668 if (!LangOpts.Exceptions) return false; 671 if (LangOpts.CXXExceptions) return true [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,
|
CGException.cpp | 300 if (!LangOpts.CPlusPlus || !LangOpts.ObjC1 || !LangOpts.Exceptions) 305 if (!LangOpts.ObjCRuntime.isNeXTFamily()) 308 const EHPersonality &ObjCXX = EHPersonality::get(LangOpts); 309 const EHPersonality &CXX = getCXXPersonality(LangOpts); [all...] |
/external/clang/include/clang/Lex/ |
LiteralSupport.h | 87 static bool isValidUDSuffix(const LangOptions &LangOpts, StringRef Suffix);
|
HeaderSearch.h | 262 const LangOptions &LangOpts, const TargetInfo *Target);
|
/external/clang/lib/ARCMigrate/ |
Internals.h | 46 SourceManager &SM, const LangOptions &LangOpts);
|
Transforms.cpp | 548 const LangOptions &LangOpts = pass.Ctx.getLangOpts(); 553 SM, LangOpts, &Invalid);
|
/frameworks/compile/slang/ |
slang.h | 60 static clang::LangOptions LangOpts;
|
/external/clang/lib/Sema/ |
Sema.cpp | 48 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); 81 LangOpts(pp.getLangOpts()), PP(pp), Context(ctxt), Consumer(consumer), 87 LangOpts.getMSPointerToMemberRepresentationMethod()), 88 VtorDispModeStack(1, MSVtorDispAttr::Mode(LangOpts.VtorDispMode)), 684 if (LangOpts.CPlusPlus11 && [all...] |
SemaCodeComplete.cpp | [all...] |
SemaAttr.cpp | 315 VtorDispModeStack.push_back(MSVtorDispAttr::Mode(LangOpts.VtorDispMode)); 322 VtorDispModeStack.push_back(MSVtorDispAttr::Mode(LangOpts.VtorDispMode));
|
/external/clang/lib/Lex/ |
ModuleMap.cpp | 87 const LangOptions &LangOpts, const TargetInfo *Target, 89 : SourceMgr(SourceMgr), Diags(Diags), LangOpts(LangOpts), Target(Target), 275 if (RequestingModule && LangOpts.ModulesDeclUse && 305 if (LangOpts.ModulesStrictDeclUse) { 343 if (RequestingModule && LangOpts.ModulesDeclUse && 548 if (LangOpts.CurrentModule == Name) { 554 if (!LangOpts.CurrentModule.empty() && !CompilingModule && 555 Name == LangOpts.CurrentModule) { 686 if (LangOpts.CurrentModule == ModuleName) [all...] |
Preprocessor.cpp | 63 : PPOpts(PPOpts), Diags(&diags), LangOpts(opts), Target(nullptr), 120 if(LangOpts.Borland) {
|
/external/clang/include/clang/StaticAnalyzer/Core/ |
CheckerManager.h | 151 const LangOptions LangOpts; 156 CheckerManager(const LangOptions &langOpts, 158 : LangOpts(langOpts), 170 const LangOptions &getLangOpts() const { return LangOpts; }
|
/external/clang/lib/Format/ |
Format.cpp | [all...] |
/external/clang/lib/Rewrite/Frontend/ |
RewriteModernObjC.cpp | 64 const LangOptions &LangOpts; 284 New->printPretty(S, nullptr, PrintingPolicy(LangOpts)); 558 if (!LangOpts.ObjC1 && !LangOpts.ObjC2) 660 : Diags(D), LangOpts(LOpts), InFileName(inFile), OutFile(OS), [all...] |
/external/clang/lib/StaticAnalyzer/Core/ |
HTMLDiagnostics.cpp | 585 const LangOptions &LangOpts = R.getLangOpts(); 606 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1;
|