/external/clang/tools/libclang/ |
CXSourceLocation.h | 44 Context.getLangOptions(), 62 Context.getLangOptions(),
|
/external/clang/lib/Rewrite/ |
RewriteTest.cpp | 21 const LangOptions &LangOpts = PP.getLangOptions();
|
RewriteMacros.cpp | 69 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOptions()); 94 Rewrite.setSourceMgr(SM, PP.getLangOptions());
|
HTMLPrint.cpp | 58 R.setSourceMgr(context.getSourceManager(), context.getLangOptions());
|
/external/clang/lib/StaticAnalyzer/Checkers/ |
DebugCheckers.cpp | 52 cfg->viewCFG(mgr.getLangOptions()); 72 cfg->dump(mgr.getLangOptions());
|
NSAutoreleasePoolChecker.cpp | 82 if (mgr.getLangOptions().getGC() != LangOptions::NonGC)
|
ObjCAtSyncChecker.cpp | 91 if (mgr.getLangOptions().ObjC2)
|
/external/clang/examples/wpa/ |
clang-wpa.cpp | 154 if (PP.getLangOptions().ObjC1) 158 checkerMgr.reset(ento::registerCheckers(Opts, PP.getLangOptions(), 163 PP.getLangOptions(), /* PathDiagnostic */ 0, 175 AMgr.getLangOptions());
|
/external/clang/lib/Sema/ |
SemaObjCProperty.cpp | 112 if ((getLangOptions().getGC() != LangOptions::NonGC && 114 (getLangOptions().ObjCAutoRefCount && 144 if (getLangOptions().ObjCAutoRefCount) 160 if (getLangOptions().ObjCAutoRefCount) 362 if (getLangOptions().getGC() != LangOptions::NonGC && 609 getLangOptions().getGC() != LangOptions::NonGC) { 610 assert(!getLangOptions().ObjCAutoRefCount); 626 if (getLangOptions().ObjCAutoRefCount && 643 !getLangOptions().ObjCRuntimeHasWeak) { 655 !getLangOptions().ObjCAutoRefCount & [all...] |
SemaDecl.cpp | 169 !(getLangOptions().CPlusPlus && NewSSPtr && 176 std::string CorrectedStr(Correction.getAsString(getLangOptions())); 178 Correction.getQuoted(getLangOptions())); 347 std::string CorrectedStr(Corrected.getAsString(getLangOptions())); 348 std::string CorrectedQuotedStr(Corrected.getQuoted(getLangOptions())); 383 if (getLangOptions().CPlusPlus) { 413 if (getLangOptions().MicrosoftMode && isMicrosoftMissingTypename(SS, S)) 432 bool CheckTemplate = R.getSema().getLangOptions().CPlusPlus && 484 if (getLangOptions().CPlusPlus) 509 if (!getLangOptions().CPlusPlus && !SecondTry) [all...] |
SemaExceptionSpec.cpp | 104 if (getLangOptions().MicrosoftExt) 173 if (!getLangOptions().CXXExceptions) { 267 if (getLangOptions().MicrosoftExt) 288 if (!getLangOptions().CXXExceptions) 382 if (getLangOptions().CPlusPlus0x && IsOperatorNew) { 476 if (!getLangOptions().CXXExceptions) 706 if (getLangOptions().CPlusPlus0x && isa<CXXDestructorDecl>(New)) { 720 if (getLangOptions().MicrosoftExt)
|
SemaExpr.cpp | 114 if (getLangOptions().CPlusPlus && isa<FunctionDecl>(D)) { 323 if (getLangOptions().C99 || getLangOptions().CPlusPlus || E->isLValue()) 381 if (getLangOptions().CPlusPlus && 504 if (getLangOptions().CPlusPlus && E->isGLValue() && 561 if (getLangOptions().CPlusPlus0x && !E->getType()->isDependentType()) { 575 getLangOptions().ObjCAutoRefCount && 583 << getLangOptions().CPlusPlus0x << E->getType() [all...] |
SemaCodeComplete.cpp | 532 if (AllowNestedNameSpecifiers && SemaRef.getLangOptions().CPlusPlus && 552 if (!SemaRef.getLangOptions().CPlusPlus) 732 if (!SemaRef.getLangOptions().CPlusPlus || !R.Declaration || [all...] |
SemaCXXScopeSpec.cpp | 190 assert(getLangOptions().CPlusPlus && "Only callable in C++"); 278 (Context.getLangOptions().CPlusPlus0x && 282 (Context.getLangOptions().CPlusPlus0x && isa<EnumDecl>(SD))) 487 std::string CorrectedStr(Corrected.getAsString(getLangOptions())); 488 std::string CorrectedQuotedStr(Corrected.getQuoted(getLangOptions())); 634 if (getLangOptions().MicrosoftExt) { [all...] |
SemaLookup.cpp | 283 IDNS = getIDNS(LookupKind, SemaRef.getLangOptions().CPlusPlus, 491 if (S.getLangOptions().CPlusPlus && 553 if (getLangOptions().CPlusPlus0x) { 604 if (S.getLangOptions().CPlusPlus0x && 627 if (S.getLangOptions().CPlusPlus0x && 645 if (S.getLangOptions().CPlusPlus) 833 assert(getLangOptions().CPlusPlus && "Can perform only C++ lookup"); [all...] |
SemaAccess.cpp | [all...] |
/external/clang/lib/ARCMigrate/ |
Transforms.cpp | 67 if (!Ctx.getLangOptions().ObjCRuntimeHasWeak) 108 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOptions())) 112 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOptions()); 127 Ctx.getLangOptions(),
|
ARCMT.cpp | 212 printer.BeginSourceFile(PP.getLangOptions(), &PP); 260 DiagClient->BeginSourceFile(Ctx.getLangOptions(), &Unit->getPreprocessor()); 275 Ctx.getSourceManager(), Ctx.getLangOptions()); 283 DiagClient->BeginSourceFile(Ctx.getLangOptions(), &Unit->getPreprocessor()); 525 DiagClient->BeginSourceFile(Ctx.getLangOptions(), &Unit->getPreprocessor()); 536 DiagClient->BeginSourceFile(Ctx.getLangOptions(), &Unit->getPreprocessor()); 538 Rewriter rewriter(Ctx.getSourceManager(), Ctx.getLangOptions());
|
TransBlockObjCVariable.cpp | 57 Var->getASTContext().getLangOptions().CPlusPlus)
|
/external/clang/lib/Lex/ |
TokenConcatenation.cpp | 48 const LangOptions &LangOpts = PP.getLangOptions(); 212 (PP.getLangOptions().CPlusPlus && FirstChar == '*'); 231 (PP.getLangOptions().CPlusPlus && FirstChar == ':'); 235 return PP.getLangOptions().CPlusPlus && FirstChar == '*';
|
/external/clang/lib/AST/ |
ExprClassification.cpp | 59 if (!Ctx.getLangOptions().CPlusPlus) { 93 const LangOptions &Lang = Ctx.getLangOptions(); 128 return Ctx.getLangOptions().CPlusPlus? Cl::CL_ClassTemporary 382 (Ctx.getLangOptions().CPlusPlus && 393 if (!Ctx.getLangOptions().CPlusPlus) return Cl::CL_PRValue; 414 if (!Ctx.getLangOptions().CPlusPlus) { 466 assert(Ctx.getLangOptions().CPlusPlus && 502 assert(Ctx.getLangOptions().CPlusPlus && 541 if (Ctx.getLangOptions().CPlusPlus && E->getType()->isFunctionType()) 574 !Ctx.getLangOptions().CPlusPlus) & [all...] |
/external/clang/lib/Index/ |
ASTLocation.cpp | 94 AsStmt()->printPretty(OS, Ctx, 0, PrintingPolicy(Ctx.getLangOptions()));
|
/external/clang/lib/Frontend/ |
InitPreprocessor.cpp | 635 const LangOptions &LangOpts = PP.getLangOptions(); 651 if (!PP.getLangOptions().AsmPreprocessor) 676 InitializeStandardPredefinedMacros(PP.getTargetInfo(), PP.getLangOptions(), 681 if (!PP.getLangOptions().AsmPreprocessor) 709 if (!PP.getLangOptions().AsmPreprocessor) 721 PP.getLangOptions(),
|
/external/clang/lib/CodeGen/ |
CGDeclCXX.cpp | 176 if (!CGM.getContext().getLangOptions().AppleKext) { 183 if (!CGM.getLangOptions().Exceptions) 307 if (getLangOptions().ObjCAutoRefCount && getLangOptions().CPlusPlus) {
|
ModuleBuilder.cpp | 77 if (Ctx->getLangOptions().CPlusPlus && !D->isDependentContext()) {
|