/freebsd-10-stable/contrib/llvm/tools/clang/lib/Frontend/ |
H A D | FrontendAction.cpp | 192 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), 0); 226 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), 0); 251 CI.getLangOpts(), 271 CI.getDiagnosticClient().BeginSourceFile(CI.getLangOpts(), 331 PP.getLangOpts());
|
H A D | ASTMerge.cpp | 37 CI.getASTContext().getLangOpts());
|
H A D | CompilerInstance.cpp | 223 getLangOpts(), 226 getDiagnostics(), getLangOpts(), &getTarget(), 284 Context = new ASTContext(getLangOpts(), PP.getSourceManager(), 683 getTarget().setForcedLangOptions(getLangOpts()); 821 Invocation->getLangOpts()->resetNonModularOptions(); 833 Invocation->getLangOpts()->CurrentModule = Module->getTopLevelModuleName(); 852 InputKind IK = getSourceInputKindFromOptions(*Invocation->getLangOpts()); 1115 if (LastModuleImportResult && ModuleName != getLangOpts().CurrentModule) 1129 } else if (ModuleName == getLangOpts().CurrentModule) { 1346 if (ModuleName != getLangOpts() [all...] |
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Sema/ |
H A D | SemaDecl.cpp | 115 return getLangOpts().CPlusPlus; 232 !(getLangOpts().CPlusPlus && NewSSPtr && 417 std::string CorrectedStr(Corrected.getAsString(getLangOpts())); 440 if (getLangOpts().CPlusPlus) { 470 if (getLangOpts().MicrosoftMode && isMicrosoftMissingTypename(SS, S)) 490 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && 541 << Name << TagName << SemaRef.getLangOpts().CPlusPlus 613 if (getLangOpts().CPlusPlus) 638 if (!getLangOpts().CPlusPlus && !SecondTry && 656 if (getLangOpts() [all...] |
H A D | SemaCodeComplete.cpp | 539 if (AllowNestedNameSpecifiers && SemaRef.getLangOpts().CPlusPlus && 559 if (!SemaRef.getLangOpts().CPlusPlus) 779 if (!SemaRef.getLangOpts().CPlusPlus || !R.Declaration || 1046 if (SemaRef.getLangOpts().CPlusPlus) 1048 else if (SemaRef.getLangOpts().ObjC1) { 1064 if (SemaRef.getLangOpts().CPlusPlus) 1066 else if (SemaRef.getLangOpts().ObjC1) { 1091 if (SemaRef.getLangOpts().CPlusPlus) 1195 if (!C.getLangOpts().CPlusPlus) 1225 if ((SemaRef.getLangOpts() [all...] |
H A D | SemaLookup.cpp | 288 IDNS = getIDNS(LookupKind, SemaRef.getLangOpts().CPlusPlus, 524 if (S.getLangOpts().CPlusPlus11 && S.getLangOpts().GNUMode && 536 if (S.getLangOpts().CPlusPlus && 589 if (getLangOpts().CPlusPlus11) { 639 if (S.getLangOpts().CPlusPlus11 && 661 if (S.getLangOpts().CPlusPlus11 && 679 if (S.getLangOpts().CPlusPlus) 887 assert(getLangOpts().CPlusPlus && "Can perform only C++ lookup"); 1330 if (!getLangOpts() [all...] |
H A D | SemaExpr.cpp | 62 if (getLangOpts().CPlusPlus1y && FD->getResultType()->isUndeducedType() && 209 if (S.getLangOpts().CPlusPlus) 273 if (getLangOpts().CPlusPlus && isa<FunctionDecl>(D)) { 308 if (getLangOpts().CPlusPlus1y && FD->getResultType()->isUndeducedType() && 462 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) 562 if (getLangOpts().CPlusPlus && 577 if (getLangOpts().OpenCL && !getOpenCLOptions().cl_khr_fp16 && 617 if (getLangOpts().ObjCAutoRefCount && 663 if (Ty->isHalfType() && !getLangOpts() [all...] |
H A D | SemaAccess.cpp | 800 if (S.getLangOpts().MicrosoftMode && !EC.Functions.empty()) 1425 if (S.getLangOpts().MicrosoftMode && 1544 if (!getLangOpts().AccessControl || 1560 if (!getLangOpts().AccessControl || 1581 if (access == AS_public || !getLangOpts().AccessControl) return true; 1602 if (!getLangOpts().AccessControl) 1627 if (!getLangOpts().AccessControl || Access == AS_public) 1670 if (!getLangOpts().AccessControl || 1700 if (!getLangOpts().AccessControl || 1718 if (!getLangOpts() [all...] |
H A D | DeclSpec.cpp | 494 if (S.getLangOpts().OpenCL && 500 if (S.getLangOpts().OpenCLVersion < 120) { 519 if (TypeSpecType == TST_unspecified && S.getLangOpts().CPlusPlus) { 1037 if (!PP.getLangOpts().CPlusPlus) 1078 if (PP.getLangOpts().CPlusPlus && 1087 if (!PP.getLangOpts().CPlusPlus11 && TypeSpecType == TST_auto) 1089 if (PP.getLangOpts().CPlusPlus && !PP.getLangOpts().CPlusPlus11 &&
|
H A D | SemaCXXScopeSpec.cpp | 169 assert(getLangOpts().CPlusPlus && "Only callable in C++"); 269 (Context.getLangOpts().CPlusPlus11 && 273 (Context.getLangOpts().CPlusPlus11 && isa<EnumDecl>(SD))) 487 if (Found.empty() && !ErrorRecoveryLookup && !getLangOpts().MicrosoftMode) { 499 Name.getAsString() == Corrected.getAsString(getLangOpts()); 520 !getLangOpts().CPlusPlus11) { 649 if (getLangOpts().MicrosoftMode) { 702 << T << getLangOpts().CPlusPlus;
|
H A D | SemaExceptionSpec.cpp | 159 if (getLangOpts().MicrosoftExt) 174 if (getLangOpts().CPlusPlus11 && 304 if (getLangOpts().MicrosoftExt) 328 if (!getLangOpts().CXXExceptions) 430 if (getLangOpts().CPlusPlus11 && IsOperatorNew) { 524 if (!getLangOpts().CXXExceptions) 761 if (getLangOpts().CPlusPlus11 && isa<CXXDestructorDecl>(New)) { 775 if (getLangOpts().MicrosoftExt)
|
H A D | SemaExprObjC.cpp | 91 } else if (getLangOpts().NoConstantCFStrings) { 93 std::string StringClass(getLangOpts().ObjCConstantStringClass); 202 if (S.getLangOpts().DebuggerObjCLiteral) { 225 if (!Method && S.getLangOpts().DebuggerObjCLiteral) { 311 if (getLangOpts().CPlusPlus) { 340 if (S.getLangOpts().CPlusPlus && Element->getType()->isRecordType()) { 467 if (getLangOpts().DebuggerObjCLiteral) { 493 if (!BoxingMethod && getLangOpts().DebuggerObjCLiteral) { 643 if (!NSArrayDecl && getLangOpts().DebuggerObjCLiteral) 662 if (!Method && getLangOpts() [all...] |
H A D | SemaType.cpp | 612 if (!state.getSema().getLangOpts().ObjCAutoRefCount) 765 if (S.getLangOpts().CPlusPlus1y && 783 if (S.getLangOpts().ImplicitInt) { 796 if (S.getLangOpts().CPlusPlus) { 821 if (!S.getLangOpts().C99) { 822 if (S.getLangOpts().CPlusPlus) 824 S.getLangOpts().CPlusPlus11 ? 840 if (!S.getLangOpts().C99) { 841 if (S.getLangOpts().CPlusPlus) 843 S.getLangOpts() [all...] |
H A D | SemaExprCXX.cpp | 437 if (!getLangOpts().RTTI) { 593 if (!getLangOpts().CXXExceptions && 1047 if (getLangOpts().CPlusPlus1y) { 1204 if (getLangOpts().ObjCAutoRefCount && 1227 if (getLangOpts().CPlusPlus1y) { 1252 << S.getLangOpts().CPlusPlus11 << T; 1286 S.getLangOpts().CPlusPlus11 1323 if (getLangOpts().CPlusPlus11) 1335 if (getLangOpts().CPlusPlus11) 1540 else if (getLangOpts() [all...] |
/freebsd-10-stable/contrib/llvm/tools/clang/lib/ARCMigrate/ |
H A D | Transforms.cpp | 44 if (!Ctx.getLangOpts().ObjCARCWeak) 141 if (!Lexer::isAtEndOfMacroExpansion(loc, SM, Ctx.getLangOpts(), &loc)) 144 loc = Lexer::getLocForEndOfToken(loc, /*Offset=*/0, SM, Ctx.getLangOpts()); 159 Ctx.getLangOpts(), 410 Pass.Ctx.getLangOpts(), 493 Pass.Ctx.getLangOpts(), 555 const LangOptions &LangOpts = pass.Ctx.getLangOpts();
|
H A D | TransBlockObjCVariable.cpp | 58 Var->getASTContext().getLangOpts().CPlusPlus)
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Parse/ |
H A D | ParseStmt.cpp | 219 if ((getLangOpts().CPlusPlus || !OnlyStatement) && isDeclarationStatement()) { 457 if (getLangOpts().Borland) { 464 if (getLangOpts().Borland) { 532 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) 899 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) || 982 if (getLangOpts().CPlusPlus) 1038 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1164 bool C99orCXX = getLangOpts().C99 || getLangOpts() [all...] |
H A D | ParseTentative.cpp | 213 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) { 708 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { 1159 if (!getLangOpts().ObjC1 && Next.is(tok::identifier)) 1397 if (getLangOpts().ObjC1 && NextToken().is(tok::less)) { 1414 if (getLangOpts().CPlusPlus11 && isFollowedByBrace) 1446 if (getLangOpts() [all...] |
H A D | ParseAST.cpp | 135 if (!External && !S.getLangOpts().CPlusPlus)
|
H A D | ParseCXXInlineMethods.cpp | 83 Diag(Tok, getLangOpts().CPlusPlus11 ? 91 Diag(Tok, getLangOpts().CPlusPlus11 ? 116 if (getLangOpts().DelayedTemplateParsing && 343 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 763 return Diag(Tok.getLocation(), getLangOpts().CPlusPlus11 780 if (!getLangOpts().CPlusPlus11) 985 if (!getLangOpts().CPlusPlus11) 991 if (!getLangOpts().CPlusPlus11)
|
H A D | ParseDeclCXX.cpp | 162 Diag(InlineLoc, getLangOpts().CPlusPlus11 ? 494 if (getLangOpts().CPlusPlus11 && Context == Declarator::MemberContext && 531 Diag(Tok.getLocation(), getLangOpts().CPlusPlus11 ? 643 if (Tok.is(tok::kw__Static_assert) && !getLangOpts().C11) 731 getLangOpts().CPlusPlus1y 1066 if (!getLangOpts().CPlusPlus) 1072 return getLangOpts().CPlusPlus11 && NextToken().is(tok::l_square); 1075 return getLangOpts().CPlusPlus; 1210 if (getLangOpts().CPlusPlus) { 1231 if (Tok.is(tok::less) && getLangOpts() [all...] |
/freebsd-10-stable/contrib/llvm/tools/clang/lib/Lex/ |
H A D | LiteralSupport.cpp | 566 if (PP.getLangOpts().MicrosoftExt) { 613 if (PP.getLangOpts().CPlusPlus1y && *s == 'i') 628 if (isValidUDSuffix(PP.getLangOpts(), 752 if (!PP.getLangOpts().HexFloats) 766 PP.getLangOpts().CPlusPlus1y 768 : PP.getLangOpts().CPlusPlus 1081 &PP.getDiagnostics(), PP.getLangOpts(), true)) { 1095 CharWidth, &PP.getDiagnostics(), PP.getLangOpts()); 1145 PP.getLangOpts().CharIsSigned) 1206 : SM(PP.getSourceManager()), Features(PP.getLangOpts()), [all...] |
/freebsd-10-stable/contrib/llvm/tools/clang/lib/AST/ |
H A D | Mangle.cpp | 71 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) && 101 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs())
|
/freebsd-10-stable/contrib/llvm/tools/clang/lib/StaticAnalyzer/Checkers/ |
H A D | CheckObjCDealloc.cpp | 283 if (mgr.getLangOpts().getGC() == LangOptions::GCOnly) 285 checkObjCDealloc(cast<ObjCImplementationDecl>(D), mgr.getLangOpts(), BR);
|
/freebsd-10-stable/contrib/llvm/tools/clang/include/clang/Parse/ |
H A D | Parser.h | 224 const LangOptions &getLangOpts() const { return PP.getLangOpts(); } function in class:clang::Parser 535 if (!getLangOpts().AltiVec || 548 if (!getLangOpts().AltiVec || 1698 if (getLangOpts().CPlusPlus) 1707 if (getLangOpts().CPlusPlus) 1717 if (getLangOpts().CPlusPlus) 1743 if (getLangOpts().CPlusPlus) 1877 if (!getLangOpts().CPlusPlus11 || NextToken().isNot(tok::l_square)) 1884 if (!getLangOpts() [all...] |