Lines Matching refs:getLangOpts
65 if (!Ident__except && (getLangOpts().MicrosoftExt || getLangOpts().Borland)) in getSEHExceptKeyword()
215 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) { in ConsumeExtraSemi()
216 if (getLangOpts().CPlusPlus11) in ConsumeExtraSemi()
438 if (getLangOpts().DelayedTemplateParsing && in ~Parser()
460 if (getLangOpts().ObjC1) { in Initialize()
483 if (getLangOpts().AltiVec || getLangOpts().ZVector) { in Initialize()
487 if (getLangOpts().AltiVec) in Initialize()
505 if(getLangOpts().Borland) { in Initialize()
577 if (getLangOpts().DelayedTemplateParsing) in ParseTopLevelDecl()
709 if (!(getLangOpts().GNUAsm || Result.isInvalid())) { in ParseExternalDeclaration()
727 if (!getLangOpts().ObjC1) { in ParseExternalDeclaration()
756 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration()
765 if (getLangOpts().CPlusPlus) { in ParseExternalDeclaration()
786 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration()
790 Diag(ExternLoc, getLangOpts().CPlusPlus11 ? in ParseExternalDeclaration()
820 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isDeclarationAfterDeclarator()
831 (getLangOpts().CPlusPlus && in isDeclarationAfterDeclarator()
843 if (!getLangOpts().CPlusPlus && in isStartOfFunctionDefinition()
847 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isStartOfFunctionDefinition()
906 if (getLangOpts().ObjC2 && Tok.is(tok::at)) { in ParseDeclOrFunctionDefInternal()
933 if (getLangOpts().CPlusPlus && isTokenStringLiteral() && in ParseDeclOrFunctionDefInternal()
984 if (getLangOpts().ImplicitInt && D.getDeclSpec().isEmpty()) { in ParseFunctionDefinition()
1004 (!getLangOpts().CPlusPlus || in ParseFunctionDefinition()
1033 if (getLangOpts().DelayedTemplateParsing && Tok.isNot(tok::equal) && in ParseFunctionDefinition()
1110 assert(getLangOpts().CPlusPlus && "Only C++ function definitions have '='"); in ParseFunctionDefinition()
1115 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseFunctionDefinition()
1122 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseFunctionDefinition()
1425 if (getLangOpts().CPlusPlus && in TryAnnotateName()
1486 if (getLangOpts().ObjC1 && NextToken().is(tok::less) && in TryAnnotateName()
1595 if (getLangOpts().MSVCCompat && NextToken().is(tok::kw_typedef)) { in TryAnnotateTypeOrScopeToken()
1628 if (getLangOpts().MicrosoftExt) in TryAnnotateTypeOrScopeToken()
1683 if (getLangOpts().CPlusPlus) in TryAnnotateTypeOrScopeToken()
1717 if (getLangOpts().ObjC1 && NextToken().is(tok::less) && in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1744 if (!getLangOpts().CPlusPlus) { in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1807 assert(getLangOpts().CPlusPlus && in TryAnnotateCXXScopeToken()
1918 if (getLangOpts().CPlusPlus) in ParseMicrosoftIfExistsCondition()
2079 << P.getLangOpts().BracketDepth; in diagnoseOverflow()