/external/clang/include/clang/Frontend/ |
D | LangStandards.def | 89 LineComment | CPlusPlus | Digraphs) 92 LineComment | CPlusPlus | Digraphs) 95 LineComment | CPlusPlus | Digraphs | GNUMode) 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 | [all …]
|
D | LangStandard.h | 25 CPlusPlus = (1 << 4), enumerator 71 bool isCPlusPlus() const { return Flags & frontend::CPlusPlus; } in isCPlusPlus()
|
/external/clang/lib/Lex/ |
D | PPMacroExpansion.cpp | 981 .Case("has_nothrow_assign", LangOpts.CPlusPlus) in HasFeature() 982 .Case("has_nothrow_copy", LangOpts.CPlusPlus) in HasFeature() 983 .Case("has_nothrow_constructor", LangOpts.CPlusPlus) in HasFeature() 984 .Case("has_trivial_assign", LangOpts.CPlusPlus) in HasFeature() 985 .Case("has_trivial_copy", LangOpts.CPlusPlus) in HasFeature() 986 .Case("has_trivial_constructor", LangOpts.CPlusPlus) in HasFeature() 987 .Case("has_trivial_destructor", LangOpts.CPlusPlus) in HasFeature() 988 .Case("has_virtual_destructor", LangOpts.CPlusPlus) in HasFeature() 989 .Case("is_abstract", LangOpts.CPlusPlus) in HasFeature() 990 .Case("is_base_of", LangOpts.CPlusPlus) in HasFeature() [all …]
|
D | TokenConcatenation.cpp | 262 (PP.getLangOpts().CPlusPlus && FirstChar == '*'); in AvoidConcat() 281 (PP.getLangOpts().CPlusPlus && FirstChar == ':'); in AvoidConcat() 285 return PP.getLangOpts().CPlusPlus && FirstChar == '*'; in AvoidConcat()
|
D | Lexer.cpp | 1361 } else if (LangOpts.CPlusPlus) { in isAllowedIDChar() 1378 } else if (LangOpts.CPlusPlus) { in isAllowedInitiallyIDChar() 1623 assert(getLangOpts().CPlusPlus); in LexUDSuffix() 1721 Diag(BufferPtr, getLangOpts().CPlusPlus in LexStringLiteral() 1754 if (getLangOpts().CPlusPlus) in LexStringLiteral() 1838 if (getLangOpts().CPlusPlus) in LexRawStringLiteral() 1894 Diag(BufferPtr, getLangOpts().CPlusPlus in LexCharConstant() 1936 if (getLangOpts().CPlusPlus) in LexCharConstant() 2704 if (!LangOpts.CPlusPlus && !LangOpts.C99) { in tryReadUCN() 2792 if (LangOpts.CPlusPlus && !LangOpts.CPlusPlus11) in tryReadUCN() [all …]
|
/external/clang/lib/AST/ |
D | ExprClassification.cpp | 43 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyImpl() 93 return Lang.CPlusPlus ? ClassifyTemporary(E->getType()) : Cl::CL_PRValue; in ClassifyExprValueKind() 144 return Ctx.getLangOpts().CPlusPlus ? ClassifyTemporary(E->getType()) in ClassifyInternal() 242 return Lang.CPlusPlus ? Cl::CL_LValue : Cl::CL_PRValue; in ClassifyInternal() 277 if (Lang.CPlusPlus) in ClassifyInternal() 326 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 334 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 341 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 422 (Ctx.getLangOpts().CPlusPlus && in ClassifyDecl() 434 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue; in ClassifyUnnamed() [all …]
|
D | TemplateName.cpp | 164 LO.CPlusPlus = true; in operator <<() 175 LO.CPlusPlus = true; in dump()
|
D | DeclarationName.cpp | 154 LO.CPlusPlus = true; in operator <<() 164 LO.CPlusPlus = true; in operator <<() 193 LO.CPlusPlus = true; in operator <<() 549 LO.CPlusPlus = true; in printName()
|
D | Mangle.cpp | 74 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) && in getCallingConvMangling() 106 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) in shouldMangleDeclName()
|
/external/clang/lib/Parse/ |
D | Parser.cpp | 195 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) { in ConsumeExtraSemi() 715 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 724 if (getLangOpts().CPlusPlus) { in ParseExternalDeclaration() 745 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 779 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isDeclarationAfterDeclarator() 790 (getLangOpts().CPlusPlus && in isDeclarationAfterDeclarator() 802 if (!getLangOpts().CPlusPlus && in isStartOfFunctionDefinition() 806 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isStartOfFunctionDefinition() 886 if (getLangOpts().CPlusPlus && isTokenStringLiteral() && in ParseDeclOrFunctionDefInternal() 957 (!getLangOpts().CPlusPlus || in ParseFunctionDefinition() [all …]
|
D | ParseDecl.cpp | 1397 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { in ParseDeclaration() 1495 return getLangOpts().CPlusPlus; in MightBeDeclarator() 1502 return Context == Declarator::MemberContext || getLangOpts().CPlusPlus; in MightBeDeclarator() 1529 (getLangOpts().CPlusPlus && Context == Declarator::FileContext); in MightBeDeclarator() 1942 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes() 1968 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes() 1992 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes() 2005 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes() 2016 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes() 2172 if (!isTypeSpecifier(DSC) && !getLangOpts().CPlusPlus && in ParseImplicitInt() [all …]
|
D | ParseStmt.cpp | 208 if ((getLangOpts().CPlusPlus || !OnlyStatement) && isDeclarationStatement()) { in ParseStatementOrDeclarationAfterAttributes() 571 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement() 1033 if (getLangOpts().CPlusPlus) in ParseParenExprOrCondition() 1089 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseIfStatement() 1213 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseSwitchStatement() 1298 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseWhileStatement() 1380 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseDoStatement() 1471 bool C99orCXXorObjC = getLangOpts().C99 || getLangOpts().CPlusPlus || in ParseForStatement() 1525 } else if (getLangOpts().CPlusPlus && Tok.is(tok::identifier) && in ParseForStatement() 1552 bool MightBeForRangeStmt = getLangOpts().CPlusPlus; in ParseForStatement() [all …]
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 123 return getLangOpts().CPlusPlus; in isSimpleTypeSpecifier() 349 !(getLangOpts().CPlusPlus && NewSSPtr && in getTypeName() 605 if (getLangOpts().CPlusPlus) { in DiagnoseUnknownTypeName() 653 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && in isResultTypeOrTemplate() 699 << Name << TagName << SemaRef.getLangOpts().CPlusPlus in isTagTypeWithMissingTag() 776 if (getLangOpts().CPlusPlus) in ClassifyName() 801 if (!getLangOpts().CPlusPlus && !SecondTry && in ClassifyName() 820 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) && in ClassifyName() 901 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) && in ClassifyName() 925 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) && in ClassifyName() [all …]
|
D | SemaCXXScopeSpec.cpp | 172 assert(getLangOpts().CPlusPlus && "Only callable in C++"); in getCurrentInstantiationOf() 570 << &Identifier << getLangOpts().CPlusPlus in BuildCXXNestedNameSpecifier() 578 << &Identifier << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier() 776 << QualType(TD->getTypeForDecl(), 0) << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier() 779 << &Identifier << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier() 822 << T << getLangOpts().CPlusPlus; in ActOnCXXNestedNameSpecifierDecltype()
|
D | SemaLookup.cpp | 209 bool CPlusPlus, in getIDNS() argument 218 if (CPlusPlus) { in getIDNS() 235 if (CPlusPlus) { in getIDNS() 256 if (CPlusPlus) in getIDNS() 289 IDNS = getIDNS(LookupKind, getSema().getLangOpts().CPlusPlus, in configure() 539 if (S.getLangOpts().CPlusPlus && in LookupBuiltin() 674 if (S.getLangOpts().CPlusPlus) in LookupDirect() 878 assert(getLangOpts().CPlusPlus && "Can perform only C++ lookup"); in CppLookupName() 1325 if (!getLangOpts().CPlusPlus) { in LookupName() 3041 !Result.getSema().getLangOpts().CPlusPlus) { in LookupVisibleDecls() [all …]
|
D | SemaExpr.cpp | 246 if (S.getLangOpts().CPlusPlus) in diagnoseUseOfInternalDeclInInlineFunction() 310 if (getLangOpts().CPlusPlus && isa<FunctionDecl>(D)) { in DiagnoseUseOfDecl() 513 if (getLangOpts().C99 || getLangOpts().CPlusPlus || E->isLValue()) in DefaultFunctionArrayConversion() 613 if (getLangOpts().CPlusPlus && in DefaultLvalueConversion() 797 if (getLangOpts().CPlusPlus && E->isGLValue() && !isUnevaluatedContext()) { in DefaultArgumentPromotion() 955 if (!getLangOpts().CPlusPlus && in DefaultVariadicArgumentPromotion() 1538 if (getLangOpts().CPlusPlus || getLangOpts().ConstStrings) in ActOnStringLiteral() 1937 if (getLangOpts().CPlusPlus && ND->isCXXClassMember()) { in DiagnoseEmptyLookup() 2140 if (R.empty() && HasTrailingLParen && II && !getLangOpts().CPlusPlus) { in ActOnIdExpression() 2485 if (!(getLangOpts().CPlusPlus && in LookupInObjCMethod() [all …]
|
/external/lldb/source/Plugins/LanguageRuntime/ |
D | CMakeLists.txt | 1 add_subdirectory(CPlusPlus)
|
/external/google-breakpad/src/common/ |
D | language.h | 81 static const Language * const CPlusPlus, variable
|
D | language.cc | 79 const Language * const Language::CPlusPlus = &CPPLanguageSingleton; member in google_breakpad::Language
|
/external/clang/lib/Frontend/ |
D | InitHeaderSearch.cpp | 492 if (Lang.CPlusPlus && HSOpts.UseStandardCXXIncludes && in AddDefaultIncludePaths() 647 (!Lang.ObjC1 && !Lang.CPlusPlus && it->first == CSystem) || in Realize() 648 (/*FIXME !Lang.ObjC1 && */Lang.CPlusPlus && it->first == CXXSystem) || in Realize() 649 (Lang.ObjC1 && !Lang.CPlusPlus && it->first == ObjCSystem) || in Realize() 650 (Lang.ObjC1 && Lang.CPlusPlus && it->first == ObjCXXSystem)) in Realize()
|
/external/clang/unittests/CodeGen/ |
D | BufferSourceTest.cpp | 45 compiler.getLangOpts().CPlusPlus = 1; in TEST()
|
/external/clang/tools/libclang/ |
D | CIndexCodeCompletion.cpp | 369 if (S.getLangOpts().CPlusPlus) { in getContextsForContextKind() 382 if (S.getLangOpts().CPlusPlus) { in getContextsForContextKind() 393 if (S.getLangOpts().CPlusPlus) { in getContextsForContextKind() 408 if (S.getLangOpts().CPlusPlus) { in getContextsForContextKind() 475 if (S.getLangOpts().CPlusPlus) { in getContextsForContextKind()
|
/external/lldb/source/Plugins/ |
D | Android.mk | 13 LanguageRuntime/CPlusPlus/ItaniumABI \
|
D | Makefile | 20 LanguageRuntime/CPlusPlus/ItaniumABI \
|
/external/clang/lib/Basic/ |
D | IdentifierTable.cpp | 130 if (LangOpts.CPlusPlus && (Flags & KEYCXX)) return KS_Enabled; in getKeywordStatus() 141 if (!LangOpts.CPlusPlus && (Flags & KEYNOCXX)) return KS_Enabled; in getKeywordStatus() 146 if (LangOpts.CPlusPlus && (Flags & KEYCXX11)) return KS_Future; in getKeywordStatus()
|