/external/clang/lib/Frontend/Rewrite/ |
HTMLPrint.cpp | 59 R.setSourceMgr(context.getSourceManager(), context.getLangOpts());
|
/external/clang/lib/Sema/ |
SemaLookup.cpp | 293 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, 665 if (S.getLangOpts().CPlusPlus11 && S.getLangOpts().GNUMode && 672 if (S.getLangOpts().CPlusPlus && NameKind == Sema::LookupOrdinaryName && 682 if (S.getLangOpts().CPlusPlus && 727 if (getLangOpts().CPlusPlus11) { 777 if (S.getLangOpts().CPlusPlus11 && 799 if (S.getLangOpts().CPlusPlus11 && 817 if (S.getLangOpts().CPlusPlus) [all...] |
SemaCXXScopeSpec.cpp | 172 assert(getLangOpts().CPlusPlus && "Only callable in C++"); 310 if (Context.getLangOpts().CPlusPlus11) 318 if (Context.getLangOpts().CPlusPlus11) 573 << &Identifier << getLangOpts().CPlusPlus 581 << &Identifier << getLangOpts().CPlusPlus; 588 if (Found.empty() && !ErrorRecoveryLookup && !getLangOpts().MSVCCompat) { 600 Name.getAsString() == Corrected.getAsString(getLangOpts()); 627 !getLangOpts().CPlusPlus11) { 763 if (getLangOpts().MSVCCompat) { 779 << QualType(TD->getTypeForDecl(), 0) << getLangOpts().CPlusPlus [all...] |
SemaCodeComplete.cpp | 538 if (AllowNestedNameSpecifiers && SemaRef.getLangOpts().CPlusPlus && 558 if (!SemaRef.getLangOpts().CPlusPlus) 775 if (!SemaRef.getLangOpts().CPlusPlus || !R.Declaration || [all...] |
SemaExpr.cpp | 64 if (getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() && 263 if (S.getLangOpts().CPlusPlus) 327 if (getLangOpts().CPlusPlus && isa<FunctionDecl>(D)) { 367 if (getLangOpts().CPlusPlus14 && FD->getReturnType()->isUndeducedType() && 472 else if (getLangOpts().CPlusPlus11) 511 if (getLangOpts().OpenCL) { 536 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) 636 if (getLangOpts().CPlusPlus && 651 if (getLangOpts().OpenCL && !getOpenCLOptions().cl_khr_fp16 & [all...] |
SemaExceptionSpec.cpp | 214 if (getLangOpts().MicrosoftExt) { 231 if (getLangOpts().CPlusPlus11 && 288 if (getLangOpts().MicrosoftExt && ESI.Type != EST_ComputedNoexcept) { 374 if (getLangOpts().MicrosoftExt) 380 if (getLangOpts().MicrosoftExt) 402 if (!getLangOpts().CXXExceptions) 504 if (getLangOpts().CPlusPlus11 && IsOperatorNew) { 589 if (!getLangOpts().CXXExceptions) 834 if (getLangOpts().CPlusPlus11 && isa<CXXDestructorDecl>(New)) [all...] |
DeclSpec.cpp | 503 if (S.getLangOpts().OpenCL && 509 if (S.getLangOpts().OpenCLVersion < 120) { 528 if (TypeSpecType == TST_unspecified && S.getLangOpts().CPlusPlus) { [all...] |
/external/clang/lib/StaticAnalyzer/Checkers/ |
ObjCAtSyncChecker.cpp | 92 if (mgr.getLangOpts().ObjC2)
|
DynamicTypeChecker.cpp | 80 QualType::print(DynamicType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), 83 QualType::print(StaticType.getTypePtr(), Qualifiers(), OS, C.getLangOpts(), 119 const LangOptions &LangOpts = BRC.getASTContext().getLangOpts();
|
/external/clang/tools/arcmt-test/ |
arcmt-test.cpp | 131 if (!CI.getLangOpts()->ObjC1) 171 if (!origCI.getLangOpts()->ObjC1) 178 transforms = arcmt::getAllTransformations(origCI.getLangOpts()->getGC(), 320 const LangOptions &langOpts = Ctx.getLangOpts();
|
/external/clang/lib/Parse/ |
ParseTentative.cpp | 215 if (getLangOpts().ObjC1 && Tok.is(tok::less)) 375 else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) 451 (getLangOpts().CPlusPlus11 && Tok.is(tok::greatergreater)))) { 508 if (!Disambiguate && !getLangOpts().ObjC1) 517 if (!getLangOpts().ObjC1) { 704 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { [all...] |
ParseDeclCXX.cpp | 79 if (getLangOpts().CPlusPlus11 && isCXX11AttributeSpecifier()) { 80 if (!getLangOpts().CPlusPlus1z) 144 } else if (getLangOpts().CPlusPlus1z) { 178 Diag(InlineLoc, getLangOpts().CPlusPlus11 ? 544 if (getLangOpts().CPlusPlus11 && Context == Declarator::MemberContext && 584 Diag(Tok.getLocation(), getLangOpts().CPlusPlus11 ? 699 if (Tok.is(tok::kw__Static_assert) && !getLangOpts().C11) 721 Diag(Tok, getLangOpts().CPlusPlus1z 724 << (getLangOpts().CPlusPlus1z 799 getLangOpts().CPlusPlus1 [all...] |
ParseCXXInlineMethods.cpp | 69 Diag(KWLoc, getLangOpts().CPlusPlus11 79 Diag(KWLoc, getLangOpts().CPlusPlus11 106 if (getLangOpts().DelayedTemplateParsing && 344 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 422 getLangOpts().CPlusPlus11); [all...] |
/external/clang/include/clang/Parse/ |
Parser.h | 244 const LangOptions &getLangOpts() const { return PP.getLangOpts(); } 610 if (!getLangOpts().AltiVec && !getLangOpts().ZVector) 615 (!getLangOpts().AltiVec || Tok.getIdentifierInfo() != Ident_pixel)) 625 if ((!getLangOpts().AltiVec && !getLangOpts().ZVector) || 639 assert(getLangOpts().ObjC1); [all...] |
/external/clang/lib/ARCMigrate/ |
Transforms.cpp | 45 if (!Ctx.getLangOpts().ObjCWeakRuntime) 140 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOpts(), &loc)) 143 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); 158 Ctx.getLangOpts(), 405 Pass.Ctx.getLangOpts(), 486 Pass.Ctx.getLangOpts(), 544 const LangOptions &LangOpts = pass.Ctx.getLangOpts();
|
TransBlockObjCVariable.cpp | 58 Var->getASTContext().getLangOpts().CPlusPlus)
|
/external/clang/lib/Frontend/ |
FrontendAction.cpp | 201 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr); 246 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), nullptr); 277 CI.getLangOpts(), CI.getTargetOpts(), CI.getPreprocessorOpts(), 298 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), 375 if (CI.getLangOpts().Modules) 379 PP.getLangOpts()); 383 assert((!CI.getLangOpts().Modules || CI.getModuleManager()) &&
|
CompilerInstance.cpp | 308 getLangOpts(), 310 PP = new Preprocessor(&getPreprocessorOpts(), getDiagnostics(), getLangOpts(), 336 PP->getLangOpts(), PP->getTargetInfo().getTriple()); 340 if (PP->getLangOpts().Modules && PP->getLangOpts().ImplicitModules) 394 auto *Context = new ASTContext(getLangOpts(), PP.getSourceManager(), 805 if (getLangOpts().CUDA && !getFrontendOpts().AuxTriple.empty()) { 815 getTarget().adjust(getLangOpts()); [all...] |
FrontendActions.cpp | 296 if (CI.getLangOpts().CurrentModule.empty()) { 311 SourceMgr.pushModuleBuildStack(CI.getLangOpts().CurrentModule, 315 Module = HS.lookupModule(CI.getLangOpts().CurrentModule, 319 << CI.getLangOpts().CurrentModule << Filename; 327 if (!Module->isAvailable(CI.getLangOpts(), CI.getTarget(), Requirement, 356 CI.getLangOpts(), Module->IsExternC); 359 CI.getLangOpts(), FileMgr, 390 HS.getModuleFileName(CI.getLangOpts().CurrentModule, 622 Lexer RawLex(SM.getMainFileID(), FromFile, SM, PP.getLangOpts()); 746 Lexer::ComputePreamble((*Buffer)->getBuffer(), CI.getLangOpts()).first [all...] |
ASTMerge.cpp | 37 CI.getASTContext().getLangOpts());
|
/external/clang/lib/Lex/ |
LiteralSupport.cpp | 611 if (PP.getLangOpts().MicrosoftExt) { 650 if (*s == 'i' && PP.getLangOpts().CPlusPlus14) 667 if (isValidUDSuffix(PP.getLangOpts(), UDSuffixBuf)) { 792 if (!PP.getLangOpts().HexFloats) 806 PP.getLangOpts().CPlusPlus14 808 : PP.getLangOpts().CPlusPlus [all...] |
PPDirectives.cpp | 119 const LangOptions &Lang = PP.getLangOpts(); 131 const LangOptions &Lang = PP.getLangOpts(); 158 Diag(MacroNameTok, getLangOpts().MicrosoftExt 822 if (getLangOpts().AsmPreprocessor) [all...] |
/external/clang/examples/PrintFunctionNames/ |
PrintFunctionNames.cpp | 46 if (!Instance.getLangOpts().DelayedTemplateParsing)
|
/external/clang/include/clang/Frontend/ |
CompilerInstance.h | 294 LangOptions &getLangOpts() { 295 return *Invocation->getLangOpts(); 297 const LangOptions &getLangOpts() const { 298 return *Invocation->getLangOpts();
|
/external/clang/lib/AST/ |
Decl.cpp | 50 Hidden = Ctx.getLangOpts().ModulesLocalVisibility; 539 const LangOptions &Opts = D->getASTContext().getLangOpts(); 597 if (Context.getLangOpts().CPlusPlus && 676 globalVisibility = Context.getLangOpts().getValueVisibilityMode(); 679 globalVisibility = Context.getLangOpts().getTypeVisibilityMode(); 718 if (Context.getLangOpts().CPlusPlus && !isFirstInExternCContext(Var)) { 758 if (Context.getLangOpts().CPlusPlus && [all...] |