Lines Matching refs:getLangOpts

79   if (getLangOpts().CPlusPlus11 && isCXX11AttributeSpecifier()) {  in ParseNamespace()
80 if (!getLangOpts().CPlusPlus1z) in ParseNamespace()
144 } else if (getLangOpts().CPlusPlus1z) { in ParseNamespace()
178 Diag(InlineLoc, getLangOpts().CPlusPlus11 ? in ParseNamespace()
544 if (getLangOpts().CPlusPlus11 && Context == Declarator::MemberContext && in ParseUsingDeclaration()
584 Diag(Tok.getLocation(), getLangOpts().CPlusPlus11 ? in ParseUsingDeclaration()
699 if (Tok.is(tok::kw__Static_assert) && !getLangOpts().C11) in ParseStaticAssertDeclaration()
721 Diag(Tok, getLangOpts().CPlusPlus1z in ParseStaticAssertDeclaration()
724 << (getLangOpts().CPlusPlus1z in ParseStaticAssertDeclaration()
799 getLangOpts().CPlusPlus14 in ParseDecltypeSpecifier()
1121 return getLangOpts().MicrosoftExt; in isValidAfterTypeSpecifier()
1163 if (!getLangOpts().CPlusPlus) in isValidAfterTypeSpecifier()
1168 return getLangOpts().CPlusPlus; in isValidAfterTypeSpecifier()
1356 bool ShouldChangeAtomicToIdentifier = getLangOpts().MSVCCompat && in ParseClassSpecifier()
1364 if (getLangOpts().CPlusPlus) { in ParseClassSpecifier()
1394 if (Tok.is(tok::less) && getLangOpts().CPlusPlus) { in ParseClassSpecifier()
1489 (getLangOpts().CPlusPlus && Tok.is(tok::colon)) || in ParseClassSpecifier()
1769 (getLangOpts().CPlusPlus && Tok.is(tok::colon)) || in ParseClassSpecifier()
1774 else if (getLangOpts().CPlusPlus) in ParseClassSpecifier()
1814 (getLangOpts().CPlusPlus || !isTypeSpecifier(DSC)) && in ParseClassSpecifier()
1917 if (getLangOpts().MSVCCompat && Tok.is(tok::kw__Atomic) && in ParseBaseSpecifier()
2009 if (!getLangOpts().CPlusPlus || Tok.isNot(tok::identifier)) in isCXX11VirtSpecifier()
2017 if (getLangOpts().MicrosoftExt) in isCXX11VirtSpecifier()
2072 getLangOpts().CPlusPlus11 in ParseOptionalCXX11VirtSpecifierSeq()
2264 if (getLangOpts().ObjC1 && NextToken().isObjCAtKeyword(tok::objc_defs)) in ParseCXXClassMemberDeclaration()
2476 if (getLangOpts().MicrosoftExt && DeclaratorInfo.isDeclarationOfFunction()) in ParseCXXClassMemberDeclaration()
2485 if (Tok.is(tok::l_brace) && !getLangOpts().CPlusPlus11) { in ParseCXXClassMemberDeclaration()
2630 Diag(Tok, getLangOpts().CPlusPlus11 in ParseCXXClassMemberDeclaration()
2791 if (getLangOpts().CPlusPlus && Tok.is(tok::identifier)) { in SkipCXXMemberSpecification()
2845 if (getLangOpts().MicrosoftExt && in ParseCXXClassMemberDeclarationWithPragmas()
2996 if (getLangOpts().CPlusPlus && Tok.is(tok::identifier)) { in ParseCXXMemberSpecification()
3008 Diag(FinalLoc, getLangOpts().CPlusPlus11 in ParseCXXMemberSpecification()
3296 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseMemInitializer()
3332 if (getLangOpts().CPlusPlus11) in ParseMemInitializer()
3458 if (P.getLangOpts().CPlusPlus11) { in diagnoseDynamicExceptionSpecification()
3495 if (!getLangOpts().MicrosoftExt) in ParseDynamicExceptionSpecification()
3692 getTargetInfo(), getLangOpts())) { in ParseCXX11AttributeArgs()
3777 Diag(Tok.getLocation(), getLangOpts().CPlusPlus1z in ParseCXX11AttributeSpecifier()
3867 assert(getLangOpts().CPlusPlus11); in ParseCXX11Attributes()