Home
last modified time | relevance | path

Searched refs:CPlusPlus11 (Results 1 – 25 of 65) sorted by relevance

123

/external/clang/include/clang/Frontend/
DLangStandards.def107 LineComment | CPlusPlus | CPlusPlus11 | Digraphs)
110 LineComment | CPlusPlus | CPlusPlus11 | Digraphs)
113 LineComment | CPlusPlus | CPlusPlus11 | Digraphs | GNUMode)
116 LineComment | CPlusPlus | CPlusPlus11 | Digraphs | GNUMode)
120 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs)
123 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs)
126 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs |
130 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs |
135 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus1z |
139 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus1z |
DLangStandard.h26 CPlusPlus11 = (1 << 5), enumerator
74 bool isCPlusPlus11() const { return Flags & frontend::CPlusPlus11; } in isCPlusPlus11()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp832 Diag(Tok, LangOpts.CPlusPlus11 ? in ReadFunctionLikeMacroArgs()
1136 .Case("cxx_access_control_sfinae", LangOpts.CPlusPlus11) in HasFeature()
1137 .Case("cxx_alias_templates", LangOpts.CPlusPlus11) in HasFeature()
1138 .Case("cxx_alignas", LangOpts.CPlusPlus11) in HasFeature()
1139 .Case("cxx_alignof", LangOpts.CPlusPlus11) in HasFeature()
1140 .Case("cxx_atomic", LangOpts.CPlusPlus11) in HasFeature()
1141 .Case("cxx_attributes", LangOpts.CPlusPlus11) in HasFeature()
1142 .Case("cxx_auto_type", LangOpts.CPlusPlus11) in HasFeature()
1143 .Case("cxx_constexpr", LangOpts.CPlusPlus11) in HasFeature()
1144 .Case("cxx_decltype", LangOpts.CPlusPlus11) in HasFeature()
[all …]
DTokenConcatenation.cpp23 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()
DLexer.cpp1386 } else if (LangOpts.CPlusPlus11 || LangOpts.C11) { in isAllowedIDChar()
1405 } else if (LangOpts.CPlusPlus11 || LangOpts.C11) { in isAllowedInitiallyIDChar()
1671 if (!getLangOpts().CPlusPlus11) { in LexUDSuffix()
2548 if (LangOpts.CPlusPlus11) { in LexEndOfFile()
2824 if (LangOpts.CPlusPlus && !LangOpts.CPlusPlus11) in tryReadUCN()
3073 if (LangOpts.CPlusPlus11 || LangOpts.C11) { in LexTokenInternal()
3087 if (Char == 'R' && LangOpts.CPlusPlus11 && in LexTokenInternal()
3109 if (Char2 == 'R' && LangOpts.CPlusPlus11) { in LexTokenInternal()
3131 if (LangOpts.CPlusPlus11 || LangOpts.C11) { in LexTokenInternal()
3145 if (Char == 'R' && LangOpts.CPlusPlus11 && in LexTokenInternal()
[all …]
DPPDirectives.cpp130 if (Lang.CPlusPlus11 && (Text.equals("override") || Text.equals("final"))) in shouldWarnOnMacroDef()
1157 if (LangOpts.C99 || LangOpts.CPlusPlus11) in HandleLineDirective()
1161 else if (LangOpts.CPlusPlus11 && LineNo >= 32768U) in HandleLineDirective()
2142 Diag(Tok, LangOpts.CPlusPlus11 ? in ReadMacroDefinitionArgList()
2321 } else if (LangOpts.C99 || LangOpts.CPlusPlus11) { in HandleDefineDirective()
/external/clang/lib/Basic/
DOperatorPrecedence.cpp19 bool CPlusPlus11) { in getBinOpPrecedence() argument
37 if (GreaterThanIsOperator || !CPlusPlus11) in getBinOpPrecedence()
/external/clang/lib/Parse/
DParseCXXInlineMethods.cpp70 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseCXXInlineMethodDef()
80 Diag(KWLoc, getLangOpts().CPlusPlus11 in ParseCXXInlineMethodDef()
351 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseLexedMethodDeclaration()
429 getLangOpts().CPlusPlus11); in ParseLexedMethodDeclaration()
870 if (getLangOpts().CPlusPlus11) in ConsumeAndStoreFunctionPrologue()
889 if (!getLangOpts().CPlusPlus11) in ConsumeAndStoreFunctionPrologue()
1100 if (!getLangOpts().CPlusPlus11) in ConsumeAndStoreInitializer()
1106 if (!getLangOpts().CPlusPlus11) in ConsumeAndStoreInitializer()
DParseTentative.cpp435 (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace))) { in isCXXConditionDeclarationOrInitStatement()
529 (getLangOpts().CPlusPlus11 && Tok.is(tok::greatergreater)))) { in isCXXTypeId()
773 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { in TryParseOperatorId()
1477 if (getLangOpts().CPlusPlus11 && isFollowedByBrace) in isCXXDeclarationSpecifier()
1510 if (getLangOpts().CPlusPlus11 && NextToken().is(tok::l_brace)) in isCXXDeclarationSpecifier()
1535 if (getLangOpts().CPlusPlus11 && isFollowedByBrace) in isCXXDeclarationSpecifier()
1595 return getLangOpts().CPlusPlus11; in isCXXDeclarationSpecifierAType()
DParseDecl.cpp1600 return Context == Declarator::MemberContext && getLangOpts().CPlusPlus11 && in MightBeDeclarator()
1634 return getLangOpts().CPlusPlus11 && isCXX11VirtSpecifier(NextToken()); in MightBeDeclarator()
2130 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace) && in ParseDeclarationAfterDeclaratorAndAttributes()
2496 if (getLangOpts().CPlusPlus11) in ParseAlignArgument()
2732 if (!getLangOpts().CPlusPlus11 || !isCXX11AttributeSpecifier()) in ParseDeclarationSpecifiers()
3174 if (getLangOpts().CPlusPlus11) { in ParseDeclarationSpecifiers()
3831 Diag(Tok, getLangOpts().CPlusPlus11 ? diag::warn_cxx98_compat_scoped_enum in ParseEnumSpecifier()
3861 (getLangOpts().CPlusPlus11 || getLangOpts().MicrosoftExt || in ParseEnumSpecifier()
3983 if (getLangOpts().CPlusPlus11) { in ParseEnumSpecifier()
4041 if (!getLangOpts().CPlusPlus11 || !SS.isSet()) { in ParseEnumSpecifier()
[all …]
DParseDeclCXX.cpp79 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()
2072 getLangOpts().CPlusPlus11 in ParseOptionalCXX11VirtSpecifierSeq()
2485 if (Tok.is(tok::l_brace) && !getLangOpts().CPlusPlus11) { in ParseCXXClassMemberDeclaration()
2630 Diag(Tok, getLangOpts().CPlusPlus11 in ParseCXXClassMemberDeclaration()
3008 Diag(FinalLoc, getLangOpts().CPlusPlus11 in ParseCXXMemberSpecification()
3296 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseMemInitializer()
3332 if (getLangOpts().CPlusPlus11) in ParseMemInitializer()
[all …]
DParseExpr.cpp252 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression()
364 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseRHSOfBinaryExpression()
385 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression()
419 getLangOpts().CPlusPlus11); in ParseRHSOfBinaryExpression()
1206 (!getLangOpts().CPlusPlus11 || Tok.isNot(tok::l_brace))) in ParseCastExpression()
1339 if (getLangOpts().CPlusPlus11) { in ParseCastExpression()
1456 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParsePostfixExpressionSuffix()
2670 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseExpressionList()
DParseStmt.cpp679 if (!getLangOpts().CPlusPlus11) { in ParseCaseStatement()
1595 << ((getLangOpts().CPlusPlus11 && !getLangOpts().CPlusPlus1z) in ParseForStatement()
1617 Diag(ForRangeInit.ColonLoc, getLangOpts().CPlusPlus11 ? in ParseForStatement()
1662 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::colon) && FirstPart.get()) { in ParseForStatement()
1889 Diag(R.get()->getLocStart(), getLangOpts().CPlusPlus11 ? in ParseReturnStatement()
DParseTemplate.cpp514 getLangOpts().CPlusPlus11 in ParseTypeParameter()
612 getLangOpts().CPlusPlus11 in ParseTemplateTemplateParameter()
827 if (getLangOpts().CPlusPlus11 && in ParseGreaterThanInTemplateList()
DParseExprCXX.cpp738 assert(getLangOpts().CPlusPlus11 in TryParseLambdaExpression()
1675 (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace))) in ParseCXXTypeConstructExpression()
1821 if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) { in ParseCXXCondition()
2252 (!getLangOpts().CPlusPlus11 || NextToken().isNot(tok::l_square))) { in ParseUnqualifiedIdOperator()
2329 if (getLangOpts().CPlusPlus11 && isTokenStringLiteral()) { in ParseUnqualifiedIdOperator()
2799 } else if (Tok.is(tok::l_brace) && getLangOpts().CPlusPlus11) { in ParseCXXNewExpression()
/external/clang/include/clang/Basic/
DOperatorPrecedence.h48 bool CPlusPlus11);
/external/clang/lib/Sema/
DSemaFixItUtils.cpp184 if (S.LangOpts.CPlusPlus11) in getScalarZeroExpressionForType()
212 if (LangOpts.CPlusPlus11 && !RD->hasUserProvidedDefaultConstructor()) in getFixItZeroInitializerForType()
DSemaTemplate.cpp362 !getLangOpts().CPlusPlus11) { in LookupTemplateName()
430 getLangOpts().CPlusPlus11 && isUnevaluatedContext(); in ActOnDependentIdExpression()
1225 S.Diag(ParamLoc, S.getLangOpts().CPlusPlus11 ? in DiagnoseDefaultTemplateArgument()
3031 getLangOpts().CPlusPlus11 ? in ActOnDependentTemplateName()
3683 << getLangOpts().CPlusPlus11; in CheckTemplateArgument()
4231 S.getLangOpts().CPlusPlus11 ? in VisitTagDecl()
4240 S.getLangOpts().CPlusPlus11 ? in VisitTagDecl()
4295 if (LangOpts.CPlusPlus11) in CheckTemplateArgument()
4330 if (!S.getLangOpts().CPlusPlus11) in isNullPointerValueTemplateArgument()
4537 S.getLangOpts().CPlusPlus11 in CheckTemplateArgumentAddressOfObjectOrFunction()
[all …]
DSemaCXXScopeSpec.cpp337 if (Context.getLangOpts().CPlusPlus11) in isAcceptableNestedNameSpecifier()
345 if (Context.getLangOpts().CPlusPlus11) in isAcceptableNestedNameSpecifier()
656 !getLangOpts().CPlusPlus11) { in BuildCXXNestedNameSpecifier()
DSemaInit.cpp391 bool EmptyInitList = SemaRef.getLangOpts().CPlusPlus11 && in PerformEmptyInit()
1294 SemaRef.getLangOpts().CPlusPlus11 ? in CheckScalarType()
1298 hadError = !SemaRef.getLangOpts().CPlusPlus11; in CheckScalarType()
1379 if (isa<InitListExpr>(expr) && !SemaRef.getLangOpts().CPlusPlus11) { in CheckReferenceType()
3683 if (!S.getLangOpts().CPlusPlus11) { in TryReferenceListInitialization()
3788 if (S.getLangOpts().CPlusPlus11 && InitList->getNumInits() == 1) { in TryListInitialization()
3828 (S.getLangOpts().CPlusPlus11 && in TryListInitialization()
3830 if (S.getLangOpts().CPlusPlus11) { in TryListInitialization()
4325 if (!S.getLangOpts().CPlusPlus11 && !S.getLangOpts().MicrosoftExt) in TryReferenceInitializationCore()
4327 else if (S.getLangOpts().CPlusPlus11) in TryReferenceInitializationCore()
[all …]
DSemaExceptionSpec.cpp237 if (getLangOpts().CPlusPlus11 && in CheckEquivalentExceptionSpec()
510 if (getLangOpts().CPlusPlus11 && IsOperatorNew) { in CheckEquivalentExceptionSpec()
840 if (getLangOpts().CPlusPlus11 && isa<CXXDestructorDecl>(New)) { in CheckOverridingFunctionExceptionSpec()
/external/clang/include/clang/AST/
DPrettyPrinter.h49 Alignof(LO.CPlusPlus11), UnderscoreAlignof(LO.C11), in PrintingPolicy()
/external/clang/unittests/CodeGen/
DBufferSourceTest.cpp47 compiler.getLangOpts().CPlusPlus11 = 1; in TEST()
/external/clang/lib/Frontend/
DInitPreprocessor.cpp391 else if (LangOpts.CPlusPlus11) in InitializeStandardPredefinedMacros()
462 if (LangOpts.CPlusPlus11) { in InitializeCPlusPlusFeatureTestMacros()
556 if (!LangOpts.MSVCCompat && LangOpts.CPlusPlus11) in InitializePredefinedMacros()
/external/clang/include/clang/Parse/
DParser.h2083 if (!getLangOpts().CPlusPlus11 || NextToken().isNot(tok::l_square)) in CheckProhibitedCXX11Attribute()
2090 if (!getLangOpts().CPlusPlus11) in CheckMisplacedCXX11Attribute()
2163 if (getLangOpts().CPlusPlus11 && isCXX11AttributeSpecifier()) { in MaybeParseCXX11Attributes()
2172 if (getLangOpts().CPlusPlus11 && isCXX11AttributeSpecifier()) {
2181 if (getLangOpts().CPlusPlus11 &&

123