/external/clang/include/clang/Frontend/ |
D | LangStandards.def | 99 LineComment | CPlusPlus | CPlusPlus11 | Digraphs) 102 LineComment | CPlusPlus | CPlusPlus11 | Digraphs) 105 LineComment | CPlusPlus | CPlusPlus11 | Digraphs | GNUMode) 108 LineComment | CPlusPlus | CPlusPlus11 | Digraphs | GNUMode) 112 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs) 115 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs) 118 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs | 122 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs | 127 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus1z | 131 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus1z |
|
D | LangStandard.h | 26 CPlusPlus11 = (1 << 5), enumerator 74 bool isCPlusPlus11() const { return Flags & frontend::CPlusPlus11; } in isCPlusPlus11()
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 830 Diag(Tok, LangOpts.CPlusPlus11 ? in ReadFunctionLikeMacroArgs() 1128 .Case("cxx_access_control_sfinae", LangOpts.CPlusPlus11) in HasFeature() 1129 .Case("cxx_alias_templates", LangOpts.CPlusPlus11) in HasFeature() 1130 .Case("cxx_alignas", LangOpts.CPlusPlus11) in HasFeature() 1131 .Case("cxx_alignof", LangOpts.CPlusPlus11) in HasFeature() 1132 .Case("cxx_atomic", LangOpts.CPlusPlus11) in HasFeature() 1133 .Case("cxx_attributes", LangOpts.CPlusPlus11) in HasFeature() 1134 .Case("cxx_auto_type", LangOpts.CPlusPlus11) in HasFeature() 1135 .Case("cxx_constexpr", LangOpts.CPlusPlus11) in HasFeature() 1136 .Case("cxx_decltype", LangOpts.CPlusPlus11) in HasFeature() [all …]
|
D | TokenConcatenation.cpp | 23 static bool IsStringPrefix(StringRef Str, bool CPlusPlus11) { in IsStringPrefix() argument 26 (CPlusPlus11 && (Str[0] == 'u' || Str[0] == 'U' || Str[0] == 'R'))) { in IsStringPrefix() 33 if (Str[1] == 'R' && Str[0] != 'R' && Str.size() == 2 && CPlusPlus11) in IsStringPrefix() 57 LangOpts.CPlusPlus11); in IsIdentifierStringPrefix() 64 return IsStringPrefix(StringRef(TokPtr, length), LangOpts.CPlusPlus11); in IsIdentifierStringPrefix() 67 return IsStringPrefix(StringRef(PP.getSpelling(Tok)), LangOpts.CPlusPlus11); in IsIdentifierStringPrefix() 90 if (PP.getLangOpts().CPlusPlus11) { in TokenConcatenation() 223 if (!PP.getLangOpts().CPlusPlus11) in AvoidConcat()
|
D | Lexer.cpp | 1359 } else if (LangOpts.CPlusPlus11 || LangOpts.C11) { in isAllowedIDChar() 1378 } else if (LangOpts.CPlusPlus11 || LangOpts.C11) { in isAllowedInitiallyIDChar() 1643 if (!getLangOpts().CPlusPlus11) { in LexUDSuffix() 2520 if (LangOpts.CPlusPlus11) { in LexEndOfFile() 2796 if (LangOpts.CPlusPlus && !LangOpts.CPlusPlus11) in tryReadUCN() 3042 if (LangOpts.CPlusPlus11 || LangOpts.C11) { in LexTokenInternal() 3056 if (Char == 'R' && LangOpts.CPlusPlus11 && in LexTokenInternal() 3078 if (Char2 == 'R' && LangOpts.CPlusPlus11) { in LexTokenInternal() 3100 if (LangOpts.CPlusPlus11 || LangOpts.C11) { in LexTokenInternal() 3114 if (Char == 'R' && LangOpts.CPlusPlus11 && in LexTokenInternal() [all …]
|
D | PPDirectives.cpp | 125 if (Lang.CPlusPlus11 && (Text.equals("override") || Text.equals("final"))) in shouldWarnOnMacroDef() 1014 if (LangOpts.C99 || LangOpts.CPlusPlus11) in HandleLineDirective() 1018 else if (LangOpts.CPlusPlus11 && LineNo >= 32768U) in HandleLineDirective() 1933 Diag(Tok, LangOpts.CPlusPlus11 ? in ReadMacroDefinitionArgList() 2116 } else if (LangOpts.C99 || LangOpts.CPlusPlus11) { in HandleDefineDirective()
|
/external/clang/lib/Basic/ |
D | OperatorPrecedence.cpp | 19 bool CPlusPlus11) { in getBinOpPrecedence() argument 37 if (GreaterThanIsOperator || !CPlusPlus11) in getBinOpPrecedence()
|
/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 69 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseCXXInlineMethodDef() 79 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseCXXInlineMethodDef() 344 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseLexedMethodDeclaration() 422 getLangOpts().CPlusPlus11); in ParseLexedMethodDeclaration() 861 if (getLangOpts().CPlusPlus11) in ConsumeAndStoreFunctionPrologue() 880 if (!getLangOpts().CPlusPlus11) in ConsumeAndStoreFunctionPrologue() 1091 if (!getLangOpts().CPlusPlus11) in ConsumeAndStoreInitializer() 1097 if (!getLangOpts().CPlusPlus11) in ConsumeAndStoreInitializer()
|
D | ParseTentative.cpp | 375 else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) in isCXXConditionDeclaration() 451 (getLangOpts().CPlusPlus11 && Tok.is(tok::greatergreater)))) { in isCXXTypeId() 704 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { in TryParseOperatorId() 1406 if (getLangOpts().CPlusPlus11 && isFollowedByBrace) in isCXXDeclarationSpecifier() 1438 if (getLangOpts().CPlusPlus11 && NextToken().is(tok::l_brace)) in isCXXDeclarationSpecifier() 1465 if (getLangOpts().CPlusPlus11 && isFollowedByBrace) in isCXXDeclarationSpecifier() 1524 return getLangOpts().CPlusPlus11; in isCXXDeclarationSpecifierAType()
|
D | ParseDecl.cpp | 1564 return Context == Declarator::MemberContext && getLangOpts().CPlusPlus11 && in MightBeDeclarator() 1598 return getLangOpts().CPlusPlus11 && isCXX11VirtSpecifier(NextToken()); in MightBeDeclarator() 2093 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace) && in ParseDeclarationAfterDeclaratorAndAttributes() 2441 if (getLangOpts().CPlusPlus11) in ParseAlignArgument() 2677 if (!getLangOpts().CPlusPlus11 || !isCXX11AttributeSpecifier()) in ParseDeclarationSpecifiers() 3126 if (getLangOpts().CPlusPlus11) { in ParseDeclarationSpecifiers() 3742 Diag(Tok, getLangOpts().CPlusPlus11 ? diag::warn_cxx98_compat_scoped_enum in ParseEnumSpecifier() 3772 (getLangOpts().CPlusPlus11 || getLangOpts().MicrosoftExt || in ParseEnumSpecifier() 3894 if (getLangOpts().CPlusPlus11) { in ParseEnumSpecifier() 3952 if (!getLangOpts().CPlusPlus11 || !SS.isSet()) { in ParseEnumSpecifier() [all …]
|
D | ParseDeclCXX.cpp | 79 if (getLangOpts().CPlusPlus11 && isCXX11AttributeSpecifier()) { 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() 2057 getLangOpts().CPlusPlus11 in ParseOptionalCXX11VirtSpecifierSeq() 2465 if (Tok.is(tok::l_brace) && !getLangOpts().CPlusPlus11) { in ParseCXXClassMemberDeclaration() 2610 Diag(Tok, getLangOpts().CPlusPlus11 in ParseCXXClassMemberDeclaration() 2987 Diag(FinalLoc, getLangOpts().CPlusPlus11 in ParseCXXMemberSpecification() 3273 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseMemInitializer() 3309 if (getLangOpts().CPlusPlus11) in ParseMemInitializer() [all …]
|
D | ParseExpr.cpp | 252 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 361 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseRHSOfBinaryExpression() 382 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 416 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 1179 (!getLangOpts().CPlusPlus11 || Tok.isNot(tok::l_brace))) in ParseCastExpression() 1312 if (getLangOpts().CPlusPlus11) { in ParseCastExpression() 1412 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParsePostfixExpressionSuffix() 2622 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseExpressionList()
|
D | ParseStmt.cpp | 666 if (!getLangOpts().CPlusPlus11) { in ParseCaseStatement() 1556 << ((getLangOpts().CPlusPlus11 && !getLangOpts().CPlusPlus1z) in ParseForStatement() 1578 Diag(ForRangeInit.ColonLoc, getLangOpts().CPlusPlus11 ? in ParseForStatement() 1623 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::colon) && FirstPart.get()) { in ParseForStatement() 1848 Diag(R.get()->getLocStart(), getLangOpts().CPlusPlus11 ? in ParseReturnStatement()
|
D | ParseTemplate.cpp | 509 getLangOpts().CPlusPlus11 in ParseTypeParameter() 607 getLangOpts().CPlusPlus11 in ParseTemplateTemplateParameter() 823 if (getLangOpts().CPlusPlus11 && in ParseGreaterThanInTemplateList()
|
D | ParseExprCXX.cpp | 738 assert(getLangOpts().CPlusPlus11 in TryParseLambdaExpression() 1607 (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace))) in ParseCXXTypeConstructExpression() 1740 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseCXXCondition() 2173 (!getLangOpts().CPlusPlus11 || NextToken().isNot(tok::l_square))) { in ParseUnqualifiedIdOperator() 2250 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { in ParseUnqualifiedIdOperator() 2723 } else if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus11) { in ParseCXXNewExpression()
|
/external/clang/include/clang/Basic/ |
D | OperatorPrecedence.h | 48 bool CPlusPlus11);
|
/external/clang/unittests/CodeGen/ |
D | BufferSourceTest.cpp | 46 compiler.getLangOpts().CPlusPlus11 = 1; in TEST()
|
/external/clang/lib/Sema/ |
D | SemaFixItUtils.cpp | 184 if (S.LangOpts.CPlusPlus11) in getScalarZeroExpressionForType() 212 if (LangOpts.CPlusPlus11 && !RD->hasUserProvidedDefaultConstructor()) in getFixItZeroInitializerForType()
|
D | SemaTemplate.cpp | 360 !getLangOpts().CPlusPlus11) { in LookupTemplateName() 1208 S.Diag(ParamLoc, S.getLangOpts().CPlusPlus11 ? in DiagnoseDefaultTemplateArgument() 2988 getLangOpts().CPlusPlus11 ? in ActOnDependentTemplateName() 3645 << getLangOpts().CPlusPlus11; in CheckTemplateArgument() 4189 S.getLangOpts().CPlusPlus11 ? in VisitTagDecl() 4198 S.getLangOpts().CPlusPlus11 ? in VisitTagDecl() 4254 if (LangOpts.CPlusPlus11) in CheckTemplateArgument() 4289 if (!S.getLangOpts().CPlusPlus11) in isNullPointerValueTemplateArgument() 4496 S.getLangOpts().CPlusPlus11 in CheckTemplateArgumentAddressOfObjectOrFunction() 4605 S.Diag(Arg->getLocStart(), S.getLangOpts().CPlusPlus11 ? in CheckTemplateArgumentAddressOfObjectOrFunction() [all …]
|
D | SemaCXXScopeSpec.cpp | 310 if (Context.getLangOpts().CPlusPlus11) in isAcceptableNestedNameSpecifier() 318 if (Context.getLangOpts().CPlusPlus11) in isAcceptableNestedNameSpecifier() 627 !getLangOpts().CPlusPlus11) { in BuildCXXNestedNameSpecifier()
|
D | SemaInit.cpp | 379 bool EmptyInitList = SemaRef.getLangOpts().CPlusPlus11 && in PerformEmptyInit() 1232 SemaRef.getLangOpts().CPlusPlus11 ? in CheckScalarType() 1236 hadError = !SemaRef.getLangOpts().CPlusPlus11; in CheckScalarType() 1317 if (isa<InitListExpr>(expr) && !SemaRef.getLangOpts().CPlusPlus11) { in CheckReferenceType() 3596 if (!S.getLangOpts().CPlusPlus11) { in TryReferenceListInitialization() 3698 if (S.getLangOpts().CPlusPlus11 && InitList->getNumInits() == 1) { in TryListInitialization() 3737 (S.getLangOpts().CPlusPlus11 && in TryListInitialization() 3739 if (S.getLangOpts().CPlusPlus11) { in TryListInitialization() 4198 if (!S.getLangOpts().CPlusPlus11 && !S.getLangOpts().MicrosoftExt) in TryReferenceInitializationCore() 4200 else if (S.getLangOpts().CPlusPlus11) in TryReferenceInitializationCore() [all …]
|
D | SemaExceptionSpec.cpp | 231 if (getLangOpts().CPlusPlus11 && in CheckEquivalentExceptionSpec() 504 if (getLangOpts().CPlusPlus11 && IsOperatorNew) { in CheckEquivalentExceptionSpec() 834 if (getLangOpts().CPlusPlus11 && isa<CXXDestructorDecl>(New)) { in CheckOverridingFunctionExceptionSpec()
|
D | SemaLookup.cpp | 665 if (S.getLangOpts().CPlusPlus11 && S.getLangOpts().GNUMode && in LookupBuiltin() 727 if (getLangOpts().CPlusPlus11) { in ForceDeclarationOfImplicitMembers() 777 if (S.getLangOpts().CPlusPlus11 && in DeclareImplicitMemberFunctionsWithName() 799 if (S.getLangOpts().CPlusPlus11 && in DeclareImplicitMemberFunctionsWithName() 2790 if (getLangOpts().CPlusPlus11 && RD->needsImplicitMoveConstructor()) in LookupSpecialMember() 2796 if (getLangOpts().CPlusPlus11 && RD->needsImplicitMoveAssignment()) in LookupSpecialMember() 2961 if (getLangOpts().CPlusPlus11 && Class->needsImplicitMoveConstructor()) in LookupConstructors() 4275 if (SemaRef.getLangOpts().CPlusPlus11) { in AddKeywordsToConsumer() 4321 if (SemaRef.getLangOpts().CPlusPlus11) { in AddKeywordsToConsumer() 4378 if (SemaRef.getLangOpts().CPlusPlus11) in AddKeywordsToConsumer()
|
/external/lldb/source/Expression/ |
D | ClangExpressionParser.cpp | 272 m_compiler->getLangOpts().CPlusPlus11 = true; in ClangExpressionParser() 279 m_compiler->getLangOpts().CPlusPlus11 = true; in ClangExpressionParser()
|
/external/clang/lib/Frontend/ |
D | InitPreprocessor.cpp | 391 else if (LangOpts.CPlusPlus11) in InitializeStandardPredefinedMacros() 429 if (LangOpts.CPlusPlus11) { in InitializeCPlusPlusFeatureTestMacros() 523 if (!LangOpts.MSVCCompat && LangOpts.CPlusPlus11) in InitializePredefinedMacros()
|