/external/llvm-project/clang/include/clang/Basic/ |
D | Features.def | 191 // FEATURE(raw_invocation_type, LangOpts.CPlusPlus) 195 FEATURE(has_nothrow_assign, LangOpts.CPlusPlus) 196 FEATURE(has_nothrow_copy, LangOpts.CPlusPlus) 197 FEATURE(has_nothrow_constructor, LangOpts.CPlusPlus) 198 FEATURE(has_trivial_assign, LangOpts.CPlusPlus) 199 FEATURE(has_trivial_copy, LangOpts.CPlusPlus) 200 FEATURE(has_trivial_constructor, LangOpts.CPlusPlus) 201 FEATURE(has_trivial_destructor, LangOpts.CPlusPlus) 202 FEATURE(has_virtual_destructor, LangOpts.CPlusPlus) 203 FEATURE(is_abstract, LangOpts.CPlusPlus) [all …]
|
D | LangStandards.def | 102 LineComment | CPlusPlus | Digraphs) 107 LineComment | CPlusPlus | Digraphs | GNUMode) 112 LineComment | CPlusPlus | CPlusPlus11 | Digraphs) 117 LineComment | CPlusPlus | CPlusPlus11 | Digraphs | GNUMode) 122 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs) 127 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs | 133 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 139 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 145 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 151 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | [all …]
|
D | LangStandard.h | 47 CPlusPlus = (1 << 5), enumerator 101 bool isCPlusPlus() const { return Flags & CPlusPlus; } in isCPlusPlus()
|
/external/clang/include/clang/Frontend/ |
D | LangStandards.def | 97 LineComment | CPlusPlus | Digraphs) 100 LineComment | CPlusPlus | Digraphs) 103 LineComment | CPlusPlus | Digraphs | GNUMode) 107 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 | [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 | 301 if (LangOpts.CPlusPlus) in RegisterBuiltinMacros() 1192 .Case("has_nothrow_assign", LangOpts.CPlusPlus) in HasFeature() 1193 .Case("has_nothrow_copy", LangOpts.CPlusPlus) in HasFeature() 1194 .Case("has_nothrow_constructor", LangOpts.CPlusPlus) in HasFeature() 1195 .Case("has_trivial_assign", LangOpts.CPlusPlus) in HasFeature() 1196 .Case("has_trivial_copy", LangOpts.CPlusPlus) in HasFeature() 1197 .Case("has_trivial_constructor", LangOpts.CPlusPlus) in HasFeature() 1198 .Case("has_trivial_destructor", LangOpts.CPlusPlus) in HasFeature() 1199 .Case("has_virtual_destructor", LangOpts.CPlusPlus) in HasFeature() 1200 .Case("is_abstract", 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()
|
/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() 146 return Ctx.getLangOpts().CPlusPlus ? ClassifyTemporary(E->getType()) in ClassifyInternal() 247 return Lang.CPlusPlus ? Cl::CL_LValue : Cl::CL_PRValue; in ClassifyInternal() 282 if (Lang.CPlusPlus) in ClassifyInternal() 331 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 339 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 346 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 431 (Ctx.getLangOpts().CPlusPlus && in ClassifyDecl() 443 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue; in ClassifyUnnamed() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | CanonicalIncludesTests.cpp | 33 Language.CPlusPlus = true; in TEST() 63 Language.CPlusPlus = true; in TEST() 75 Language.CPlusPlus = true; in TEST()
|
/external/llvm-project/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() 272 return Lang.CPlusPlus ? Cl::CL_LValue : Cl::CL_PRValue; in ClassifyInternal() 308 if (Lang.CPlusPlus) in ClassifyInternal() 363 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 371 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 378 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 464 (Ctx.getLangOpts().CPlusPlus && in ClassifyDecl() 476 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue; in ClassifyUnnamed() 497 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyMemberExpr() [all …]
|
/external/clang/include/clang/AST/ |
D | PrettyPrinter.h | 42 SuppressTagKeyword(LO.CPlusPlus), in PrintingPolicy() 50 UseVoidForZeroParams(!LO.CPlusPlus), in PrintingPolicy()
|
/external/llvm-project/clang/include/clang/AST/ |
D | PrettyPrinter.h | 53 SuppressTagKeyword(LO.CPlusPlus), IncludeTagDefinition(false), in PrintingPolicy() 61 UnderscoreAlignof(LO.C11), UseVoidForZeroParams(!LO.CPlusPlus), in PrintingPolicy()
|
/external/llvm-project/clang/lib/Basic/Targets/ |
D | OSTargets.h | 281 if (Opts.CPlusPlus) in getOSDefines() 338 if (Opts.CPlusPlus) in getOSDefines() 397 if (Opts.CPlusPlus) in getOSDefines() 591 if (Opts.CPlusPlus) in getOSDefines() 636 if (Opts.CPlusPlus) { in getOSDefines() 714 if (Opts.CPlusPlus && Opts.WChar) { in getOSDefines() 765 if (Opts.CPlusPlus) { in getOSDefines() 776 if (Opts.CPlusPlus && Opts.WChar) { in getOSDefines() 824 if (Opts.CPlusPlus) in getOSDefines() 879 if (Opts.CPlusPlus) in getOSDefines() [all …]
|
/external/llvm-project/clang/lib/StaticAnalyzer/Checkers/ |
D | VirtualCallChecker.cpp | 229 return LO.CPlusPlus; in shouldRegisterVirtualCallModeling() 234 return LO.CPlusPlus; in shouldRegisterPureVirtualCallChecker() 239 return LO.CPlusPlus; in shouldRegisterVirtualCallChecker()
|
/external/llvm-project/clang/unittests/CodeGen/ |
D | TBAAMetadataTest.cpp | 572 LO.CPlusPlus = 1; in TEST() 695 LO.CPlusPlus = 1; in TEST() 796 LO.CPlusPlus = 1; in TEST() 878 LO.CPlusPlus = 1; in TEST() 957 LO.CPlusPlus = 1; in TEST() 1036 LO.CPlusPlus = 1; in TEST() 1113 LO.CPlusPlus = 1; in TEST() 1199 LO.CPlusPlus = 1; in TEST()
|
/external/clang/lib/Parse/ |
D | Parser.cpp | 215 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) { in ConsumeExtraSemi() 756 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 765 if (getLangOpts().CPlusPlus) { in ParseExternalDeclaration() 786 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 820 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isDeclarationAfterDeclarator() 831 (getLangOpts().CPlusPlus && in isDeclarationAfterDeclarator() 843 if (!getLangOpts().CPlusPlus && in isStartOfFunctionDefinition() 847 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isStartOfFunctionDefinition() 933 if (getLangOpts().CPlusPlus && isTokenStringLiteral() && in ParseDeclOrFunctionDefInternal() 1004 (!getLangOpts().CPlusPlus || in ParseFunctionDefinition() [all …]
|
D | ParseDecl.cpp | 1496 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { in ParseDeclaration() 1597 return getLangOpts().CPlusPlus; in MightBeDeclarator() 1604 return Context == Declarator::MemberContext || getLangOpts().CPlusPlus; in MightBeDeclarator() 1631 (getLangOpts().CPlusPlus && Context == Declarator::FileContext); in MightBeDeclarator() 2044 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes() 2070 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes() 2095 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes() 2108 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes() 2119 if (getLangOpts().CPlusPlus && D.getCXXScopeSpec().isSet()) { in ParseDeclarationAfterDeclaratorAndAttributes() 2273 if (!isTypeSpecifier(DSC) && !getLangOpts().CPlusPlus && in ParseImplicitInt() [all …]
|
D | ParseStmt.cpp | 212 if ((getLangOpts().CPlusPlus || Allowed == ACK_Any) && in ParseStatementOrDeclarationAfterAttributes() 589 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement() 1063 if (getLangOpts().CPlusPlus) in ParseParenExprOrCondition() 1127 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseIfStatement() 1265 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseSwitchStatement() 1351 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseWhileStatement() 1431 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseDoStatement() 1529 bool C99orCXXorObjC = getLangOpts().C99 || getLangOpts().CPlusPlus || in ParseForStatement() 1581 } else if (getLangOpts().CPlusPlus && Tok.is(tok::identifier) && in ParseForStatement() 1608 bool MightBeForRangeStmt = getLangOpts().CPlusPlus; in ParseForStatement() [all …]
|
/external/llvm-project/clang/lib/Basic/ |
D | IdentifierTable.cpp | 130 if (LangOpts.CPlusPlus && (Flags & KEYCXX)) return KS_Enabled; in getKeywordStatus() 147 if (!LangOpts.CPlusPlus && (Flags & KEYNOCXX)) return KS_Enabled; in getKeywordStatus() 155 if (LangOpts.CPlusPlus && (Flags & KEYALLCXX)) return KS_Future; in getKeywordStatus() 156 if (LangOpts.CPlusPlus && !LangOpts.CPlusPlus20 && (Flags & CHAR8SUPPORT)) in getKeywordStatus() 262 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword() 267 LangOptsNoCPP.CPlusPlus = false; in isCPlusPlusKeyword()
|
/external/clang/lib/Sema/ |
D | SemaDecl.cpp | 124 return getLangOpts().CPlusPlus; in isSimpleTypeSpecifier() 356 !(getLangOpts().CPlusPlus && NewSSPtr && in getTypeName() 648 if (getLangOpts().CPlusPlus) { in DiagnoseUnknownTypeName() 696 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && in isResultTypeOrTemplate() 742 << Name << TagName << SemaRef.getLangOpts().CPlusPlus in isTagTypeWithMissingTag() 819 if (getLangOpts().CPlusPlus) in ClassifyName() 844 if (!getLangOpts().CPlusPlus && !SecondTry && in ClassifyName() 862 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) && in ClassifyName() 943 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) && in ClassifyName() 967 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) && in ClassifyName() [all …]
|
/external/llvm-project/lldb/source/Plugins/LanguageRuntime/ |
D | CMakeLists.txt | 1 add_subdirectory(CPlusPlus)
|
/external/llvm-project/lldb/unittests/Language/ |
D | CMakeLists.txt | 1 add_subdirectory(CPlusPlus)
|
/external/llvm-project/lldb/source/Plugins/Language/ |
D | CMakeLists.txt | 2 add_subdirectory(CPlusPlus)
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | CanonicalIncludes.cpp | 89 if (Language.CPlusPlus) { in addSystemHeadersMapping() 781 if (Language.CPlusPlus) in addSystemHeadersMapping()
|
/external/llvm-project/clang/lib/Parse/ |
D | Parser.cpp | 194 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) { in ConsumeExtraSemi() 590 !getLangOpts().CPlusPlus && !getLangOpts().IsHeaderFile) in ParseFirstTopLevelDecl() 910 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 919 if (getLangOpts().CPlusPlus) { in ParseExternalDeclaration() 940 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 982 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isDeclarationAfterDeclarator() 993 (getLangOpts().CPlusPlus && in isDeclarationAfterDeclarator() 1005 if (!getLangOpts().CPlusPlus && in isStartOfFunctionDefinition() 1009 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isStartOfFunctionDefinition() 1127 if (getLangOpts().CPlusPlus && isTokenStringLiteral() && in ParseDeclOrFunctionDefInternal() [all …]
|