Lines Matching refs:CPlusPlus
215 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) { in ConsumeExtraSemi()
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()
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()
933 if (getLangOpts().CPlusPlus && isTokenStringLiteral() && in ParseDeclOrFunctionDefInternal()
1004 (!getLangOpts().CPlusPlus || in ParseFunctionDefinition()
1110 assert(getLangOpts().CPlusPlus && "Only C++ function definitions have '='"); in ParseFunctionDefinition()
1425 if (getLangOpts().CPlusPlus && in TryAnnotateName()
1683 if (getLangOpts().CPlusPlus) in TryAnnotateTypeOrScopeToken()
1744 if (!getLangOpts().CPlusPlus) { in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
1807 assert(getLangOpts().CPlusPlus && in TryAnnotateCXXScopeToken()
1918 if (getLangOpts().CPlusPlus) in ParseMicrosoftIfExistsCondition()