reference, declaration → definition definition → references, declarations, derived classes, virtual overrides reference to multiple definitions → definitions unreferenced |
829 if (!getLangOpts().AltiVec && !getLangOpts().ZVector) 829 if (!getLangOpts().AltiVec && !getLangOpts().ZVector) 834 (!getLangOpts().AltiVec || Tok.getIdentifierInfo() != Ident_pixel)) 844 if ((!getLangOpts().AltiVec && !getLangOpts().ZVector) || 844 if ((!getLangOpts().AltiVec && !getLangOpts().ZVector) || 858 assert(getLangOpts().ObjC); 2198 if (getLangOpts().CPlusPlus) 2207 if (getLangOpts().CPlusPlus) 2217 if (getLangOpts().OpenMP) 2219 if (getLangOpts().CPlusPlus) 2249 if (getLangOpts().CPlusPlus) 2264 if (getLangOpts().CPlusPlus) 2390 const LangOptions &LO = getLangOpts(); 2535 if (getLangOpts().MicrosoftExt && Tok.is(tok::l_square)) 2543 const auto &LO = getLangOpts(); 2563 if (getLangOpts().OpenCL)tools/clang/include/clang/Parse/RAIIObjectsForParser.h
416 if (getDepth() < P.getLangOpts().BracketDepth) {
tools/clang/lib/Parse/ParseCXXInlineMethods.cpp67 Diag(KWLoc, getLangOpts().CPlusPlus11 77 Diag(KWLoc, getLangOpts().CPlusPlus11 110 if (getLangOpts().DelayedTemplateParsing && 342 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 419 getLangOpts().CPlusPlus11); 856 if (getLangOpts().CPlusPlus11) 875 if (!getLangOpts().CPlusPlus11) 1107 if (!getLangOpts().CPlusPlus11) 1113 if (!getLangOpts().CPlusPlus11)tools/clang/lib/Parse/ParseDecl.cpp
523 getTargetInfo(), getLangOpts())) { 667 assert(getLangOpts().DeclSpecKeyword && "__declspec keyword is not enabled"); 830 if (!getLangOpts().ObjC) 1762 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { 1869 return getLangOpts().CPlusPlus; 1873 getLangOpts().CPlusPlus11 && NextToken().is(tok::l_square); 1877 getLangOpts().CPlusPlus; 1904 (getLangOpts().CPlusPlus && 1908 return getLangOpts().CPlusPlus11 && isCXX11VirtSpecifier(NextToken()); 2103 if (getLangOpts().OpenMP) 2163 if (getLangOpts().MicrosoftExt) 2254 if (ThisDecl && P.getLangOpts().CPlusPlus) { 2265 if (ThisDecl && P.getLangOpts().CPlusPlus) { 2353 << getLangOpts().CPlusPlus2a; 2447 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace) && 2584 if (!isTypeSpecifier(DSC) && !getLangOpts().CPlusPlus && 2594 if (getLangOpts().OpenCLCPlusPlus && DS.isTypeSpecPipe()) 2597 if (getLangOpts().CPlusPlus && 2606 if (getLangOpts().CPlusPlus && (!SS || SS->isEmpty()) && 2607 getLangOpts().MSVCCompat) { 2655 << TokenName << TagName << getLangOpts().CPlusPlus 2744 bool IsTemplateName = getLangOpts().CPlusPlus && NextToken().is(tok::less); 2830 if (getLangOpts().CPlusPlus11) 2889 if (getLangOpts().CPlusPlus && 3057 if (getLangOpts().MSVCCompat && Tok.is(tok::kw__Atomic) && 3308 if (!getLangOpts().DeclSpecKeyword && Tok.is(tok::identifier) && 3331 if (getLangOpts().CPlusPlus) { 3365 if (getLangOpts().CPlusPlus && DSContext == DeclSpecContext::DSC_class && 3391 if (getLangOpts().CPlusPlus17 && 3411 if (Tok.is(tok::less) && getLangOpts().ObjC) { 3440 if (getLangOpts().CPlusPlus && DSContext == DeclSpecContext::DSC_class && 3473 getLangOpts()); 3540 if (getLangOpts().CPlusPlus11) { 3581 if (!getLangOpts().C11) 3595 if (getLangOpts().OpenCLCPlusPlus) { 3611 if (getLangOpts().CPlusPlus2a) { 3632 if (!getLangOpts().C11) 3639 if (!getLangOpts().C11) 3697 if (!getLangOpts().C99) 3703 if (!getLangOpts().C99) 3741 if (!getLangOpts().FixedPoint) { 3742 SetupFixedPointError(getLangOpts(), PrevSpec, DiagID, isInvalid); 3749 if (!getLangOpts().FixedPoint) { 3750 SetupFixedPointError(getLangOpts(), PrevSpec, DiagID, isInvalid); 3757 if (!getLangOpts().FixedPoint) { 3758 SetupFixedPointError(getLangOpts(), PrevSpec, DiagID, isInvalid); 3785 if (Tok.is(tok::kw__Bool) && !getLangOpts().C99) 3823 if (!getLangOpts().OpenCL || (getLangOpts().OpenCLVersion < 200 && 3823 if (!getLangOpts().OpenCL || (getLangOpts().OpenCLVersion < 200 && 3824 !getLangOpts().OpenCLCPlusPlus)) { 3876 getLangOpts()); 3880 getLangOpts()); 3884 getLangOpts()); 3931 if (!getLangOpts().C11) 3939 getLangOpts()); 3970 if (DS.hasTypeSpecifier() || !getLangOpts().ObjC) 4006 Diag(Loc, DiagID) << getLangOpts().OpenCLCPlusPlus 4007 << getLangOpts().getOpenCLVersionTuple().getAsString() 4129 assert(!getLangOpts().CPlusPlus && "C++ declarations not supported"); 4298 Diag(Tok, getLangOpts().CPlusPlus11 ? diag::warn_cxx98_compat_scoped_enum 4328 if (getLangOpts().CPlusPlus) { 4426 if ((getLangOpts().CPlusPlus && 4428 (!getLangOpts().CPlusPlus && !isDeclarationSpecifier(true))) { 4446 if (!getLangOpts().ObjC) { 4447 if (getLangOpts().CPlusPlus11) 4449 else if (getLangOpts().CPlusPlus) 4451 else if (getLangOpts().MicrosoftExt) 4506 if (!getLangOpts().CPlusPlus11 || !SS.isSet()) { 4646 if (Tok.is(tok::r_brace) && !getLangOpts().CPlusPlus) 4673 if (getLangOpts().CPlusPlus) 4674 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 4729 if (!getLangOpts().C99 && !getLangOpts().CPlusPlus11) 4729 if (!getLangOpts().C99 && !getLangOpts().CPlusPlus11) 4730 Diag(CommaLoc, getLangOpts().CPlusPlus ? 4734 else if (getLangOpts().CPlusPlus11) 4915 return getLangOpts().ObjC; 4946 return getLangOpts().OpenCL; 4964 return (getLangOpts().OpenCL && getLangOpts().OpenCLVersion >= 200) || 4964 return (getLangOpts().OpenCL && getLangOpts().OpenCLVersion >= 200) || 4965 getLangOpts().OpenCLCPlusPlus; 4969 if (getLangOpts().ObjC && NextToken().is(tok::period)) 5103 return getLangOpts().ObjC; 5146 return getLangOpts().OpenCL; 5194 if (getLangOpts().CPlusPlus11 && 5329 getLangOpts()); 5333 getLangOpts()); 5337 getLangOpts()); 5342 if (!getLangOpts().C11) 5345 getLangOpts()); 5350 if (!getLangOpts().OpenCL) 5366 getLangOpts()); 5371 if ((AttrReqs & AR_DeclspecAttributesParsed) && !getLangOpts().CPlusPlus && 5526 if (getLangOpts().CPlusPlus && 5581 if (!isPtrOperatorToken(Kind, getLangOpts(), D.getContext())) { 5626 Diag(Loc, getLangOpts().CPlusPlus11 ? 5739 if (getLangOpts().CPlusPlus && D.mayHaveIdentifier()) { 5751 getLangOpts().CPlusPlus11)); 5794 if (isPtrOperatorToken(Tok.getKind(), getLangOpts(), D.getContext())) { 5867 assert(!getLangOpts().CPlusPlus && 5954 if (getLangOpts().ObjC && getLangOpts().CPlusPlus && 5954 if (getLangOpts().ObjC && getLangOpts().CPlusPlus && 5956 Tok.getIdentifierInfo()->isCPlusPlusKeyword(getLangOpts())) { 5971 } else if (getLangOpts().CPlusPlus) { 5978 << getLangOpts().CPlusPlus; 5982 << getLangOpts().CPlusPlus; 6014 if (getLangOpts().CPlusPlus && D.mayBeFollowedByCXXDirectInit()) { 6157 (getLangOpts().CPlusPlus && Tok.is(tok::ellipsis) && 6289 HasProto = ParamInfo.size() || getLangOpts().CPlusPlus 6290 || getLangOpts().OpenCL; 6298 if (getLangOpts().CPlusPlus) { 6326 getLangOpts().CPlusPlus11 && 6335 if (D.getDeclSpec().hasConstexprSpecifier() && !getLangOpts().CPlusPlus14) 6342 if (getLangOpts().OpenCLCPlusPlus) { 6391 if (getLangOpts().CPlusPlus11 && Tok.is(tok::arrow)) { 6412 !getLangOpts().CPlusPlus) { 6440 Diag(Tok, getLangOpts().CPlusPlus11 ? 6457 return !getLangOpts().CPlusPlus 6672 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 6695 if (!getLangOpts().CPlusPlus) { 6815 if (getLangOpts().CPlusPlus) { 6923 << getLangOpts().CPlusPlus 6931 << getLangOpts().CPlusPlustools/clang/lib/Parse/ParseDeclCXX.cpp
78 if (getLangOpts().CPlusPlus11 && isCXX11AttributeSpecifier()) { 79 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 158 } else if (getLangOpts().CPlusPlus2a) { 164 } else if (getLangOpts().CPlusPlus17) { 208 Diag(InlineLoc, getLangOpts().CPlusPlus11 ? 440 if (Tok.is(tok::r_brace) && getLangOpts().ModulesTS) { 621 if (getLangOpts().CPlusPlus11 && 645 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 ? 763 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 ? 786 Diag(Tok.getLocation(), getLangOpts().CPlusPlus11 ? 867 if (Tok.is(tok::kw__Static_assert) && !getLangOpts().C11) 891 Diag(Tok, getLangOpts().CPlusPlus17 894 << (getLangOpts().CPlusPlus17 969 getLangOpts().CPlusPlus14 1297 return getLangOpts().MicrosoftExt; 1341 if (!getLangOpts().CPlusPlus) 1346 return getLangOpts().CPlusPlus; 1535 bool ShouldChangeAtomicToIdentifier = getLangOpts().MSVCCompat && 1543 if (getLangOpts().CPlusPlus) { 1603 if (Tok.is(tok::less) && getLangOpts().CPlusPlus) { 1687 (getLangOpts().CPlusPlus && Tok.is(tok::colon)) || 1953 (getLangOpts().CPlusPlus && Tok.is(tok::colon)) || 1958 else if (getLangOpts().CPlusPlus) 2012 (getLangOpts().CPlusPlus || !isTypeSpecifier(DSC)) && 2115 if (getLangOpts().MSVCCompat && Tok.is(tok::kw__Atomic) && 2209 if (!getLangOpts().CPlusPlus || Tok.isNot(tok::identifier)) 2217 if (getLangOpts().GNUKeywords) 2219 if (getLangOpts().MicrosoftExt) 2279 getLangOpts().CPlusPlus11 2464 if (getLangOpts().ObjC && NextToken().isObjCAtKeyword(tok::objc_defs)) 2685 if (getLangOpts().MicrosoftExt && DeclaratorInfo.isDeclarationOfFunction()) 2694 if (Tok.is(tok::l_brace) && !getLangOpts().CPlusPlus11) { 2780 Diag(Tok, getLangOpts().CPlusPlus2a 2840 Diag(Tok, getLangOpts().CPlusPlus11 2985 << getLangOpts().CPlusPlus2a; 3000 if (getLangOpts().CPlusPlus && Tok.is(tok::identifier)) { 3098 if (getLangOpts().OpenCL && !NextToken().is(tok::colon)) 3219 if (getLangOpts().CPlusPlus && Tok.is(tok::identifier)) { 3232 Diag(FinalLoc, getLangOpts().CPlusPlus11 3530 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 3580 if (getLangOpts().CPlusPlus11) 3702 if (P.getLangOpts().CPlusPlus11) { 3705 P.getLangOpts().CPlusPlus17 && !IsNoexcept 3743 if (!getLangOpts().MicrosoftExt) 3962 const LangOptions &LO = getLangOpts(); 3969 AttrName, getTargetInfo(), getLangOpts())) { 4062 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 4132 getLangOpts().CPlusPlus ? ParsedAttr::AS_CXX11 : ParsedAttr::AS_C2x);tools/clang/lib/Parse/ParseExpr.cpp
270 getLangOpts().CPlusPlus11); 324 if (getLangOpts().ObjC && getLangOpts().CPlusPlus && 324 if (getLangOpts().ObjC && getLangOpts().CPlusPlus && 335 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 411 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 414 } else if (getLangOpts().CPlusPlus && NextTokPrec <= prec::Conditional) 432 getLangOpts().CPlusPlus11); 466 getLangOpts().CPlusPlus11); 509 if (!getLangOpts().CPlusPlus) 788 (isUnaryExpression && !getLangOpts().CPlusPlus) ? CompoundLiteral 871 if (getLangOpts().CPlusPlus) { 974 if (getLangOpts().ObjC && Tok.is(tok::period) && 988 !(getLangOpts().CPlusPlus && Tok.is(tok::kw_class))) { 1004 if (getLangOpts().ObjC && &II == Ident_super && !InMessageExpression && 1019 if (getLangOpts().ObjC && 1143 Res = ParseCastExpression(!getLangOpts().CPlusPlus, 1201 if (!getLangOpts().C11) 1300 if (!getLangOpts().CPlusPlus) { 1324 (!getLangOpts().CPlusPlus11 || Tok.isNot(tok::l_brace))) 1460 if (getLangOpts().CPlusPlus11) { 1461 if (getLangOpts().ObjC) { 1475 if (getLangOpts().ObjC) { 1492 if (getLangOpts().OpenCL) 1548 if (getLangOpts().ObjC && !InMessageExpression && 1566 if (getLangOpts().ObjC && Tok.isAtStartOfLine() && 1583 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 1586 } else if (getLangOpts().OpenMP) { 1753 if (getLangOpts().CPlusPlus && !LHS.isInvalid()) { 1782 if (getLangOpts().CPlusPlus && OrigLHS) { 1793 if (!CorrectedBase && !getLangOpts().CPlusPlus) 1821 if (getLangOpts().ObjC && OpKind == tok::period && 1837 getLangOpts().MicrosoftExt && 1926 if (OpTok.is(tok::kw_typeof) && !getLangOpts().CPlusPlus) { 1952 if (getLangOpts().CPlusPlus || OpTok.isNot(tok::kw_typeof)) { 2400 bool BridgeCast = (getLangOpts().ObjC && 2405 if (BridgeCast && !getLangOpts().ObjCAutoRefCount) { 2512 !InMessageExpression && getLangOpts().ObjC && 2539 if (getLangOpts().OpenCL) 2598 if (Tok.is(tok::identifier) && getLangOpts().ObjC && 2652 if (!getLangOpts().CPlusPlus && MaybeTypeCast && Result.isUsable()) { 2695 if (!getLangOpts().C99) // Compound literals don't exist in C90. 2744 if (!getLangOpts().C11) 2868 Diag(EllipsisLoc, getLangOpts().CPlusPlus17 2908 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) {tools/clang/lib/Parse/ParseExprCXX.cpp
150 assert(getLangOpts().CPlusPlus && 518 if (getLangOpts().MicrosoftExt) 743 assert(getLangOpts().CPlusPlus11 875 !(getLangOpts().ObjC && Tentative)) { 892 if (getLangOpts().ObjC && Tentative && First) 1098 Loc, 0, PP.getSourceManager(), getLangOpts()); 1191 P.Diag(ConstexprLoc, !P.getLangOpts().CPlusPlus17 1238 if (getLangOpts().CUDA) { 1247 if (getLangOpts().CUDA) 1261 Diag(Tok, getLangOpts().CPlusPlus2a 1830 (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace))) 1927 Diag(Tok.getLocation(), getLangOpts().CPlusPlus17 2030 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 2460 (!getLangOpts().CPlusPlus11 || NextToken().isNot(tok::l_square))) { 2537 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { 2572 PP.getSourceManager(), getLangOpts()); 2703 if (!getLangOpts().CPlusPlus) { 2719 } else if (getLangOpts().CPlusPlus17 && 2825 if (getLangOpts().CPlusPlus && 2908 << getLangOpts().CPlusPlus; 3052 } else if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus11) { 3195 RBraceLoc, 0, Actions.getSourceManager(), getLangOpts()), 3407 assert(getLangOpts().CPlusPlus && "Should only be called for C++!");tools/clang/lib/Parse/ParseInit.cpp
239 if (getLangOpts().ObjC && getLangOpts().CPlusPlus) { 239 if (getLangOpts().ObjC && getLangOpts().CPlusPlus) { 272 } else if (getLangOpts().ObjC && Tok.is(tok::identifier)) { 342 if (getLangOpts().ObjC && Tok.isNot(tok::ellipsis) && 388 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus11) { 436 if (!getLangOpts().CPlusPlus) 450 if (getLangOpts().MicrosoftExt && (Tok.is(tok::kw___if_exists) ||tools/clang/lib/Parse/ParseObjc.cpp
80 if (getLangOpts().Modules || getLangOpts().DebuggerSupport) { 80 if (getLangOpts().Modules || getLangOpts().DebuggerSupport) { 265 else if (!getLangOpts().ObjC) { 1115 return (getLangOpts().ObjC && Tok.is(tok::identifier) && 1349 if (getLangOpts().ObjC) 1376 if (getLangOpts().ObjC) 1412 if (getLangOpts().ObjC) 1496 if (getLangOpts().ObjC) 1562 assert(getLangOpts().ObjC && "Protocol qualifiers only exist in Objective-C"); 2746 getLangOpts().DebuggerSupport) { 2967 assert(Tok.is(tok::l_square) && getLangOpts().ObjC && 2974 if (!getLangOpts().ObjC || !NextToken().is(tok::identifier) || 3022 if (getLangOpts().CPlusPlus) { 3208 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 3488 if (getLangOpts().CPlusPlus)tools/clang/lib/Parse/ParseOpenMP.cpp
467 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { 1131 getLangOpts().OpenMP >= 50 && 1137 << ClauseName << (getLangOpts().OpenMP >= 50 ? 1 : 0); 1906 if (AllowScopeSpecifier && getLangOpts().CPlusPlus && 2362 if (Tok.is(tok::colon) && getLangOpts().OpenMP > 40) { 2467 if (getLangOpts().CPlusPlus) 2572 if (getLangOpts().CPlusPlus)tools/clang/lib/Parse/ParsePragma.cpp
307 if (getLangOpts().OpenCL) { 313 if (getLangOpts().OpenMP) 319 if (getLangOpts().MicrosoftExt || 325 if (getLangOpts().MicrosoftExt) { 353 if (getLangOpts().CUDA) { 406 if (getLangOpts().OpenCL) { 414 if (getLangOpts().MicrosoftExt || 423 if (getLangOpts().MicrosoftExt) { 450 if (getLangOpts().CUDA) { 617 FPC = getLangOpts().getDefaultFPContractMode(); 700 Opt.enableSupportedCore(getLangOpts()); 705 if (!Opt.isKnown(Name) || !Opt.isSupported(Name, getLangOpts())) { 715 else if (Opt.isSupportedExtension(Name, getLangOpts())) 717 else if (Opt.isSupportedCore(Name, getLangOpts())) 1365 Attribute.getMatchRules(PRef.getLangOpts(), SubjectMatchRuleSet);tools/clang/lib/Parse/ParseStmt.cpp
209 if ((getLangOpts().CPlusPlus || getLangOpts().MicrosoftExt || 209 if ((getLangOpts().CPlusPlus || getLangOpts().MicrosoftExt || 519 if (getLangOpts().Borland) { 532 if (getLangOpts().Borland) { 626 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) 1156 if (getLangOpts().CPlusPlus) 1208 Diag(Tok, getLangOpts().CPlusPlus17 ? diag::warn_cxx14_compat_constexpr_if 1220 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1220 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1360 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1360 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1446 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1446 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1511 if (getLangOpts().C99) 1526 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1526 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; 1627 bool C99orCXXorObjC = getLangOpts().C99 || getLangOpts().CPlusPlus || 1627 bool C99orCXXorObjC = getLangOpts().C99 || getLangOpts().CPlusPlus || 1628 getLangOpts().ObjC; 1684 } else if (getLangOpts().CPlusPlus && Tok.is(tok::identifier) && 1698 << ((getLangOpts().CPlusPlus11 && !getLangOpts().CPlusPlus17) 1698 << ((getLangOpts().CPlusPlus11 && !getLangOpts().CPlusPlus17) 1714 bool MightBeForRangeStmt = getLangOpts().CPlusPlus; 1723 Diag(ForRangeInfo.ColonLoc, getLangOpts().CPlusPlus11 ? 1760 getLangOpts().CPlusPlus11 && !ForEach && Tok.is(tok::colon); 1776 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::colon) && FirstPart.get()) { 1805 if (getLangOpts().CPlusPlus) { 1817 getLangOpts().CPlusPlus2a 1895 if (getLangOpts().OpenMP && FirstPart.isUsable()) { 2026 if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus) { 2030 getLangOpts().CPlusPlus11 2085 getLangOpts().CPlusPlus && Decl && isa<CXXMethodDecl>(Decl); 2124 getLangOpts().CPlusPlus && Decl && isa<CXXMethodDecl>(Decl);tools/clang/lib/Parse/ParseStmtAsm.cpp
223 if (getLangOpts().CPlusPlus) { 693 if (getLangOpts().AsmBlocks && !isGCCAsmStatement(Tok)) { 733 if (!(getLangOpts().GNUAsm || AsmString.isInvalid())) {tools/clang/lib/Parse/ParseTemplate.cpp
627 getLangOpts().CPlusPlus11 703 getLangOpts().CPlusPlus17 706 << (!getLangOpts().CPlusPlus17 725 getLangOpts().CPlusPlus11 943 getLangOpts())); 958 if (getLangOpts().CPlusPlus11 && 969 TokLoc, 1, PP.getSourceManager(), getLangOpts()); 1110 assert(getLangOpts().CPlusPlus && "Can only annotate template-ids in C++"); 1600 (getLangOpts().CPlusPlus11 && 1665 (getLangOpts().CPlusPlus11 &&tools/clang/lib/Parse/ParseTentative.cpp
225 if (getLangOpts().ObjC && Tok.is(tok::less)) 489 (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace))) { 592 (getLangOpts().CPlusPlus11 && 653 if (!Disambiguate && !getLangOpts().ObjC) 665 if (!getLangOpts().ObjC) { 866 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { 1324 if (!getLangOpts().ObjC && Next.is(tok::identifier)) 1343 if (getLangOpts().CPlusPlus17) { 1455 if (!getLangOpts().OpenCL) 1561 if (getLangOpts().MSVCCompat) { 1580 if (getLangOpts().CPlusPlus17) { 1590 return (getLangOpts().CPlusPlus17 || GreaterThanIsOperator) 1631 if (getLangOpts().ObjC && NextToken().is(tok::less)) { 1646 if (getLangOpts().CPlusPlus11 && isFollowedByBrace) 1684 if (getLangOpts().CPlusPlus11 && NextToken().is(tok::l_brace)) 1709 if (getLangOpts().CPlusPlus11 && isFollowedByBrace) 1773 return getLangOpts().CPlusPlus11;tools/clang/lib/Parse/Parser.cpp
44 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland)) 44 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland)) 193 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) { 194 if (getLangOpts().CPlusPlus11) 218 if (II->isCPlusPlusKeyword(getLangOpts())) { 431 if (getLangOpts().DelayedTemplateParsing && 453 if (getLangOpts().ObjC) { 479 if (getLangOpts().AltiVec || getLangOpts().ZVector) { 479 if (getLangOpts().AltiVec || getLangOpts().ZVector) { 483 if (getLangOpts().AltiVec) 503 if(getLangOpts().Borland) { 525 if (getLangOpts().CPlusPlusModules) { 562 !getLangOpts().CPlusPlus) 650 if (getLangOpts().DelayedTemplateParsing) 807 if (!(getLangOpts().GNUAsm || Result.isInvalid())) { 825 if (!getLangOpts().ObjC) { 848 if (getLangOpts().CPlusPlusModules || getLangOpts().ModulesTS) { 848 if (getLangOpts().CPlusPlusModules || getLangOpts().ModulesTS) { 870 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { 879 if (getLangOpts().CPlusPlus) { 900 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { 904 Diag(ExternLoc, getLangOpts().CPlusPlus11 ? 943 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { 954 (getLangOpts().CPlusPlus && 966 if (!getLangOpts().CPlusPlus && 970 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { 1043 if (getLangOpts().OpenCL) 1057 if (getLangOpts().ObjC && Tok.is(tok::at)) { 1088 if (getLangOpts().CPlusPlus && isTokenStringLiteral() && 1139 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { 1159 (!getLangOpts().CPlusPlus || 1182 if (getLangOpts().DelayedTemplateParsing && Tok.isNot(tok::equal) && 1262 assert(getLangOpts().CPlusPlus && "Only C++ function definitions have '='"); 1267 Diag(KWLoc, getLangOpts().CPlusPlus11 1274 Diag(KWLoc, getLangOpts().CPlusPlus11 1574 if (getLangOpts().CPlusPlus && 1646 if (getLangOpts().ObjC && NextToken().is(tok::less) && 1778 if (getLangOpts().MSVCCompat && NextToken().is(tok::kw_typedef)) { 1810 if (getLangOpts().MicrosoftExt) 1869 if (getLangOpts().CPlusPlus) 1895 if (getLangOpts().ObjC && NextToken().is(tok::less) && 1924 if (!getLangOpts().CPlusPlus) { 1994 assert(getLangOpts().CPlusPlus && 2110 if (getLangOpts().CPlusPlus) 2223 if (getLangOpts().CPlusPlusModules && Tok.is(tok::semi)) { 2238 if (getLangOpts().CPlusPlusModules && Tok.is(tok::colon) && 2317 } else if (getLangOpts().CPlusPlusModules && Tok.is(tok::colon)) { 2450 << P.getLangOpts().BracketDepth; 2466 if (getDepth() < P.getLangOpts().BracketDepth)