/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 641 Diag(Tok, LangOpts.CPlusPlus11 ? in ReadFunctionLikeMacroArgs() 927 .Case("cxx_access_control_sfinae", LangOpts.CPlusPlus11) in HasFeature() 928 .Case("cxx_alias_templates", LangOpts.CPlusPlus11) in HasFeature() 929 .Case("cxx_alignas", LangOpts.CPlusPlus11) in HasFeature() 930 .Case("cxx_alignof", LangOpts.CPlusPlus11) in HasFeature() 931 .Case("cxx_atomic", LangOpts.CPlusPlus11) in HasFeature() 932 .Case("cxx_attributes", LangOpts.CPlusPlus11) in HasFeature() 933 .Case("cxx_auto_type", LangOpts.CPlusPlus11) in HasFeature() 934 .Case("cxx_constexpr", LangOpts.CPlusPlus11) in HasFeature() 935 .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 | 1357 if (LangOpts.CPlusPlus11 || LangOpts.C11) { in isAllowedIDChar() 1374 if (LangOpts.CPlusPlus11 || LangOpts.C11) { in isAllowedInitiallyIDChar() 1639 if (!getLangOpts().CPlusPlus11) { in LexUDSuffix() 2516 if (LangOpts.CPlusPlus11) { in LexEndOfFile() 2792 if (LangOpts.CPlusPlus && !LangOpts.CPlusPlus11) in tryReadUCN() 3038 if (LangOpts.CPlusPlus11 || LangOpts.C11) { in LexTokenInternal() 3052 if (Char == 'R' && LangOpts.CPlusPlus11 && in LexTokenInternal() 3074 if (Char2 == 'R' && LangOpts.CPlusPlus11) { in LexTokenInternal() 3096 if (LangOpts.CPlusPlus11 || LangOpts.C11) { in LexTokenInternal() 3110 if (Char == 'R' && LangOpts.CPlusPlus11 && in LexTokenInternal() [all …]
|
D | PPDirectives.cpp | 137 if (Lang.CPlusPlus11 && (Text.equals("override") || Text.equals("final"))) in shouldWarnOnMacroDef() 1018 if (LangOpts.C99 || LangOpts.CPlusPlus11) in HandleLineDirective() 1022 else if (LangOpts.CPlusPlus11 && LineNo >= 32768U) in HandleLineDirective() 1902 Diag(Tok, LangOpts.CPlusPlus11 ? in ReadMacroDefinitionArgList() 2085 } else if (LangOpts.C99 || LangOpts.CPlusPlus11) { in HandleDefineDirective()
|
/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/Basic/ |
D | OperatorPrecedence.cpp | 19 bool CPlusPlus11) { in getBinOpPrecedence() argument 37 if (GreaterThanIsOperator || !CPlusPlus11) in getBinOpPrecedence()
|
/external/clang/lib/Parse/ |
D | ParseCXXInlineMethods.cpp | 74 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseCXXInlineMethodDef() 83 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseCXXInlineMethodDef() 347 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseLexedMethodDeclaration() 425 getLangOpts().CPlusPlus11); in ParseLexedMethodDeclaration() 864 if (getLangOpts().CPlusPlus11) in ConsumeAndStoreFunctionPrologue() 883 if (!getLangOpts().CPlusPlus11) in ConsumeAndStoreFunctionPrologue() 1094 if (!getLangOpts().CPlusPlus11) in ConsumeAndStoreInitializer() 1100 if (!getLangOpts().CPlusPlus11) in ConsumeAndStoreInitializer()
|
D | ParseTentative.cpp | 376 else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) in isCXXConditionDeclaration() 452 (getLangOpts().CPlusPlus11 && Tok.is(tok::greatergreater)))) { in isCXXTypeId() 706 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() 1523 return getLangOpts().CPlusPlus11; in isCXXDeclarationSpecifierAType()
|
D | ParseDecl.cpp | 1498 return Context == Declarator::MemberContext && getLangOpts().CPlusPlus11 && in MightBeDeclarator() 1532 return getLangOpts().CPlusPlus11 && isCXX11VirtSpecifier(NextToken()); in MightBeDeclarator() 2027 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace) && in ParseDeclarationAfterDeclaratorAndAttributes() 2377 if (getLangOpts().CPlusPlus11) in ParseAlignArgument() 2603 if (!getLangOpts().CPlusPlus11 || !isCXX11AttributeSpecifier()) in ParseDeclarationSpecifiers() 3022 if (getLangOpts().CPlusPlus11) { in ParseDeclarationSpecifiers() 3613 Diag(Tok, getLangOpts().CPlusPlus11 ? diag::warn_cxx98_compat_scoped_enum in ParseEnumSpecifier() 3644 (getLangOpts().CPlusPlus11 || getLangOpts().MicrosoftExt || in ParseEnumSpecifier() 3766 if (getLangOpts().CPlusPlus11) { in ParseEnumSpecifier() 3824 if (!getLangOpts().CPlusPlus11 || !SS.isSet()) { in ParseEnumSpecifier() [all …]
|
D | ParseDeclCXX.cpp | 78 if (getLangOpts().CPlusPlus11 && isCXX11AttributeSpecifier()) { in ParseNamespace() 177 Diag(InlineLoc, getLangOpts().CPlusPlus11 ? in ParseNamespace() 538 if (getLangOpts().CPlusPlus11 && Context == Declarator::MemberContext && in ParseUsingDeclaration() 576 Diag(Tok.getLocation(), getLangOpts().CPlusPlus11 ? in ParseUsingDeclaration() 2011 getLangOpts().CPlusPlus11 in ParseOptionalCXX11VirtSpecifierSeq() 2411 if (Tok.is(tok::l_brace) && !getLangOpts().CPlusPlus11) { in ParseCXXClassMemberDeclaration() 2537 Diag(Tok, getLangOpts().CPlusPlus11 in ParseCXXClassMemberDeclaration() 2825 Diag(FinalLoc, getLangOpts().CPlusPlus11 in ParseCXXMemberSpecification() 3197 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseMemInitializer() 3233 if (getLangOpts().CPlusPlus11) in ParseMemInitializer() [all …]
|
D | ParseExpr.cpp | 232 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 341 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseRHSOfBinaryExpression() 358 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 388 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression() 1138 (!getLangOpts().CPlusPlus11 || Tok.isNot(tok::l_brace))) in ParseCastExpression() 1271 if (getLangOpts().CPlusPlus11) { in ParseCastExpression() 1370 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParsePostfixExpressionSuffix() 2531 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseExpressionList()
|
D | ParseStmt.cpp | 660 if (!getLangOpts().CPlusPlus11) { in ParseCaseStatement() 1539 << ((getLangOpts().CPlusPlus11 && !getLangOpts().CPlusPlus1z) in ParseForStatement() 1561 Diag(ForRangeInit.ColonLoc, getLangOpts().CPlusPlus11 ? in ParseForStatement() 1606 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::colon) && FirstPart.get()) { in ParseForStatement() 1814 Diag(R.get()->getLocStart(), getLangOpts().CPlusPlus11 ? in ParseReturnStatement()
|
D | ParseExprCXX.cpp | 738 assert(getLangOpts().CPlusPlus11 in TryParseLambdaExpression() 1592 (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace))) in ParseCXXTypeConstructExpression() 1725 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseCXXCondition() 2165 (!getLangOpts().CPlusPlus11 || NextToken().isNot(tok::l_square))) { in ParseUnqualifiedIdOperator() 2242 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { in ParseUnqualifiedIdOperator() 2715 } 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 | 187 if (S.LangOpts.CPlusPlus11) in getScalarZeroExpressionForType() 215 if (LangOpts.CPlusPlus11 && !RD->hasUserProvidedDefaultConstructor()) in getFixItZeroInitializerForType()
|
D | SemaTemplate.cpp | 359 !getLangOpts().CPlusPlus11) { in LookupTemplateName() 1186 S.Diag(ParamLoc, S.getLangOpts().CPlusPlus11 ? in DiagnoseDefaultTemplateArgument() 2939 getLangOpts().CPlusPlus11 ? in ActOnDependentTemplateName() 3595 << getLangOpts().CPlusPlus11; in CheckTemplateArgument() 4111 S.getLangOpts().CPlusPlus11 ? in VisitTagDecl() 4120 S.getLangOpts().CPlusPlus11 ? in VisitTagDecl() 4176 if (LangOpts.CPlusPlus11) in CheckTemplateArgument() 4207 if (!S.getLangOpts().CPlusPlus11) in isNullPointerValueTemplateArgument() 4414 S.getLangOpts().CPlusPlus11 in CheckTemplateArgumentAddressOfObjectOrFunction() 4523 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() 624 !getLangOpts().CPlusPlus11) { in BuildCXXNestedNameSpecifier()
|
D | SemaInit.cpp | 356 bool EmptyInitList = SemaRef.getLangOpts().CPlusPlus11 && in PerformEmptyInit() 1146 SemaRef.getLangOpts().CPlusPlus11 ? in CheckScalarType() 1150 hadError = !SemaRef.getLangOpts().CPlusPlus11; in CheckScalarType() 1231 if (isa<InitListExpr>(expr) && !SemaRef.getLangOpts().CPlusPlus11) { in CheckReferenceType() 3414 if (!S.getLangOpts().CPlusPlus11) { in TryReferenceListInitialization() 3511 if (S.getLangOpts().CPlusPlus11 && InitList->getNumInits() == 1) { in TryListInitialization() 3550 if (S.getLangOpts().CPlusPlus11) { in TryListInitialization() 4009 if (!S.getLangOpts().CPlusPlus11 && !S.getLangOpts().MicrosoftExt) in TryReferenceInitializationCore() 4011 else if (S.getLangOpts().CPlusPlus11) in TryReferenceInitializationCore() 4150 if (!S.getLangOpts().CPlusPlus11) { in TryValueInitialization() [all …]
|
D | SemaExceptionSpec.cpp | 225 if (getLangOpts().CPlusPlus11 && in CheckEquivalentExceptionSpec() 479 if (getLangOpts().CPlusPlus11 && IsOperatorNew) { in CheckEquivalentExceptionSpec() 809 if (getLangOpts().CPlusPlus11 && isa<CXXDestructorDecl>(New)) { in CheckOverridingFunctionExceptionSpec()
|
D | SemaLookup.cpp | 527 if (S.getLangOpts().CPlusPlus11 && S.getLangOpts().GNUMode && in LookupBuiltin() 584 if (getLangOpts().CPlusPlus11) { in ForceDeclarationOfImplicitMembers() 634 if (S.getLangOpts().CPlusPlus11 && in DeclareImplicitMemberFunctionsWithName() 656 if (S.getLangOpts().CPlusPlus11 && in DeclareImplicitMemberFunctionsWithName() 2473 if (getLangOpts().CPlusPlus11 && RD->needsImplicitMoveConstructor()) in LookupSpecialMember() 2479 if (getLangOpts().CPlusPlus11 && RD->needsImplicitMoveAssignment()) in LookupSpecialMember() 2644 if (getLangOpts().CPlusPlus11 && Class->needsImplicitMoveConstructor()) in LookupConstructors() 3948 if (SemaRef.getLangOpts().CPlusPlus11) { in AddKeywordsToConsumer() 3994 if (SemaRef.getLangOpts().CPlusPlus11) { in AddKeywordsToConsumer() 4051 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 | 385 else if (LangOpts.CPlusPlus11) in InitializeStandardPredefinedMacros() 421 if (LangOpts.CPlusPlus11) { in InitializeCPlusPlusFeatureTestMacros() 511 if (!LangOpts.MSVCCompat && LangOpts.CPlusPlus11) in InitializePredefinedMacros()
|
/external/clang/include/clang/Parse/ |
D | Parser.h | 1965 if (!getLangOpts().CPlusPlus11 || NextToken().isNot(tok::l_square)) in CheckProhibitedCXX11Attribute() 1972 if (!getLangOpts().CPlusPlus11) in CheckMisplacedCXX11Attribute() 2042 if (getLangOpts().CPlusPlus11 && isCXX11AttributeSpecifier()) { in MaybeParseCXX11Attributes() 2051 if (getLangOpts().CPlusPlus11 && isCXX11AttributeSpecifier()) { 2060 if (getLangOpts().CPlusPlus11 &&
|