Home
last modified time | relevance | path

Searched refs:CPlusPlus (Results 1 – 25 of 123) sorted by relevance

12345

/external/clang/include/clang/Frontend/
DLangStandards.def89 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 …]
DLangStandard.h25 CPlusPlus = (1 << 4), enumerator
71 bool isCPlusPlus() const { return Flags & frontend::CPlusPlus; } in isCPlusPlus()
/external/clang/lib/Lex/
DPPMacroExpansion.cpp981 .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 …]
DTokenConcatenation.cpp262 (PP.getLangOpts().CPlusPlus && FirstChar == '*'); in AvoidConcat()
281 (PP.getLangOpts().CPlusPlus && FirstChar == ':'); in AvoidConcat()
285 return PP.getLangOpts().CPlusPlus && FirstChar == '*'; in AvoidConcat()
DLexer.cpp1361 } 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/
DExprClassification.cpp43 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 …]
DTemplateName.cpp164 LO.CPlusPlus = true; in operator <<()
175 LO.CPlusPlus = true; in dump()
DDeclarationName.cpp154 LO.CPlusPlus = true; in operator <<()
164 LO.CPlusPlus = true; in operator <<()
193 LO.CPlusPlus = true; in operator <<()
549 LO.CPlusPlus = true; in printName()
DMangle.cpp74 if (Context.getLangOpts().CPlusPlus && !isExternC(ND) && in getCallingConvMangling()
106 if (!getASTContext().getLangOpts().CPlusPlus && !D->hasAttrs()) in shouldMangleDeclName()
/external/clang/lib/Parse/
DParser.cpp195 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 …]
DParseDecl.cpp1397 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 …]
DParseStmt.cpp208 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/
DSemaDecl.cpp123 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 …]
DSemaCXXScopeSpec.cpp172 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()
DSemaLookup.cpp209 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 …]
DSemaExpr.cpp246 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/
DCMakeLists.txt1 add_subdirectory(CPlusPlus)
/external/google-breakpad/src/common/
Dlanguage.h81 static const Language * const CPlusPlus, variable
Dlanguage.cc79 const Language * const Language::CPlusPlus = &CPPLanguageSingleton; member in google_breakpad::Language
/external/clang/lib/Frontend/
DInitHeaderSearch.cpp492 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/
DBufferSourceTest.cpp45 compiler.getLangOpts().CPlusPlus = 1; in TEST()
/external/clang/tools/libclang/
DCIndexCodeCompletion.cpp369 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/
DAndroid.mk13 LanguageRuntime/CPlusPlus/ItaniumABI \
DMakefile20 LanguageRuntime/CPlusPlus/ItaniumABI \
/external/clang/lib/Basic/
DIdentifierTable.cpp130 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()

12345