| /openbsd-src/gnu/llvm/clang/include/clang/Basic/ |
| H A D | Features.def | 201 // FEATURE(raw_invocation_type, LangOpts.CPlusPlus) 205 FEATURE(has_nothrow_assign, LangOpts.CPlusPlus) 206 FEATURE(has_nothrow_copy, LangOpts.CPlusPlus) 207 FEATURE(has_nothrow_constructor, LangOpts.CPlusPlus) 208 FEATURE(has_trivial_assign, LangOpts.CPlusPlus) 209 FEATURE(has_trivial_copy, LangOpts.CPlusPlus) 210 FEATURE(has_trivial_constructor, LangOpts.CPlusPlus) 211 FEATURE(has_trivial_destructor, LangOpts.CPlusPlus) 212 FEATURE(has_virtual_destructor, LangOpts.CPlusPlus) 213 FEATURE(is_abstract, LangOpts.CPlusPlus) [all …]
|
| H A D | LangStandards.def | 101 LineComment | CPlusPlus | Digraphs) 106 LineComment | CPlusPlus | Digraphs | GNUMode) 111 LineComment | CPlusPlus | CPlusPlus11 | Digraphs) 116 LineComment | CPlusPlus | CPlusPlus11 | Digraphs | GNUMode) 121 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs) 126 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs | 132 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 138 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 144 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 150 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | [all …]
|
| H A D | LangStandard.h | 53 CPlusPlus = (1 << 5), enumerator 107 bool isCPlusPlus() const { return Flags & CPlusPlus; } in isCPlusPlus()
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 147 return !LangOpts.CPlusPlus ? KS_Future : KS_Unknown; in getKeywordStatusHelper() 151 return !LangOpts.CPlusPlus ? KS_Future : KS_Unknown; in getKeywordStatusHelper() 153 return LangOpts.CPlusPlus ? KS_Enabled : KS_Unknown; in getKeywordStatusHelper() 157 return LangOpts.CPlusPlus ? KS_Future : KS_Unknown; in getKeywordStatusHelper() 161 return LangOpts.CPlusPlus ? KS_Future : KS_Unknown; in getKeywordStatusHelper() 168 return !LangOpts.CPlusPlus ? KS_Future : KS_Unknown; in getKeywordStatusHelper() 183 if (LangOpts.CPlusPlus) return KS_Future; in getKeywordStatusHelper() 208 return LangOpts.CPlusPlus ? KS_Unknown : KS_Enabled; in getKeywordStatusHelper() 343 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword() 348 LangOptsNoCPP.CPlusPlus = false; in isCPlusPlusKeyword() [all …]
|
| H A D | LangOptions.cpp | 107 Opts.CPlusPlus = Std.isCPlusPlus(); in setLangDefaults() 157 Opts.OpenCLCPlusPlus = Opts.CPlusPlus; in setLangDefaults() 196 Opts.Bool = Opts.OpenCL || Opts.CPlusPlus || Opts.C2x; in setLangDefaults()
|
| /openbsd-src/gnu/llvm/clang/lib/AST/ |
| H A D | ExprClassification.cpp | 43 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyImpl() 99 return Lang.CPlusPlus ? ClassifyTemporary(E->getType()) : Cl::CL_PRValue; in ClassifyExprValueKind() 281 return Lang.CPlusPlus ? Cl::CL_LValue : Cl::CL_PRValue; in ClassifyInternal() 317 if (Lang.CPlusPlus) in ClassifyInternal() 372 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 380 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 387 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 479 (Ctx.getLangOpts().CPlusPlus && in ClassifyDecl() 490 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue; in ClassifyUnnamed() 511 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyMemberExpr() [all …]
|
| /openbsd-src/gnu/llvm/clang/include/clang/AST/ |
| H A D | PrettyPrinter.h | 61 SuppressTagKeyword(LO.CPlusPlus), IncludeTagDefinition(false), in PrintingPolicy() 68 Nullptr(LO.CPlusPlus11 || LO.C2x), NullptrTypeInNamespace(LO.CPlusPlus), in PrintingPolicy() 70 UnderscoreAlignof(LO.C11), UseVoidForZeroParams(!LO.CPlusPlus), in PrintingPolicy()
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/ |
| H A D | BUILD.gn | 11 "//lldb/source/Plugins/LanguageRuntime/CPlusPlus", 17 # Reaches into Plugins/LanguageRuntime/CPlusPlus.
|
| /openbsd-src/gnu/usr.bin/clang/liblldbPluginLanguageRuntime/ |
| H A D | Makefile | 30 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/LanguageRuntime/CPlusPlus 31 .PATH: ${.CURDIR}/../../../llvm/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Plugins/Language/CPlusPlus/ |
| H A D | BUILD.gn | 1 static_library("CPlusPlus") { 12 "//lldb/source/Plugins/LanguageRuntime/CPlusPlus",
|
| /openbsd-src/gnu/llvm/clang/lib/Basic/Targets/ |
| H A D | OSTargets.h | 280 if (Opts.CPlusPlus) in getOSDefines() 336 if (Opts.CPlusPlus) in getOSDefines() 392 if (Opts.CPlusPlus) in getOSDefines() 610 if (Opts.CPlusPlus) in getOSDefines() 655 if (Opts.CPlusPlus) { in getOSDefines() 751 if (Opts.CPlusPlus && Opts.WChar) { in getOSDefines() 808 if (Opts.CPlusPlus) { in getOSDefines() 819 if (Opts.CPlusPlus && Opts.WChar) { in getOSDefines() 871 if (Opts.CPlusPlus) in getOSDefines() 926 if (Opts.CPlusPlus) in getOSDefines() [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Plugins/ExpressionParser/Clang/ |
| H A D | BUILD.gn | 24 #"//lldb/source/Plugins/Language/CPlusPlus", # 3-hop dependency cycle 25 "//lldb/source/Plugins/LanguageRuntime/CPlusPlus",
|
| /openbsd-src/gnu/llvm/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | VirtualCallChecker.cpp | 229 return LO.CPlusPlus; in shouldRegisterVirtualCallModeling() 234 return LO.CPlusPlus; in shouldRegisterPureVirtualCallChecker() 239 return LO.CPlusPlus; in shouldRegisterVirtualCallChecker()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/LanguageRuntime/ |
| H A D | CMakeLists.txt | 1 add_subdirectory(CPlusPlus)
|
| /openbsd-src/gnu/llvm/clang/lib/Lex/ |
| H A D | TokenConcatenation.cpp | 270 (PP.getLangOpts().CPlusPlus && FirstChar == '*'); in AvoidConcat() 289 (PP.getLangOpts().CPlusPlus && FirstChar == ':'); in AvoidConcat() 293 return PP.getLangOpts().CPlusPlus && FirstChar == '*'; in AvoidConcat()
|
| H A D | InitHeaderSearch.cpp | 466 if (Lang.CPlusPlus && !Lang.AsmPreprocessor && in AddDefaultIncludePaths() 609 (!Lang.ObjC && !Lang.CPlusPlus && Include.Group == CSystem) || in Realize() 610 (/*FIXME !Lang.ObjC && */ Lang.CPlusPlus && in Realize() 612 (Lang.ObjC && !Lang.CPlusPlus && Include.Group == ObjCSystem) || in Realize() 613 (Lang.ObjC && Lang.CPlusPlus && Include.Group == ObjCXXSystem)) in Realize()
|
| H A D | LiteralSupport.cpp | 316 << /*delimited*/ 0 << (Features.CPlusPlus ? 1 : 0); in ProcessCharEscape() 637 if (!Features.CPlusPlus && !Features.C99 && Diags) in ProcessUCNEscape() 645 << (IsNamedEscapeSequence ? 1 : 0) << (Features.CPlusPlus ? 1 : 0); in ProcessUCNEscape() 1059 if (!LangOpts.CPlusPlus && ((s[0] == 'w' && s[1] == 'b') || in NumericLiteralParser() 1245 << LangOpts.CPlusPlus << 1; in ParseNumberStartingWithZero() 1272 Diags.Report(TokLoc, LangOpts.CPlusPlus in ParseNumberStartingWithZero() 1281 << LangOpts.CPlusPlus << 0; in ParseNumberStartingWithZero() 1292 : LangOpts.CPlusPlus ? diag::ext_binary_literal_cxx14 in ParseNumberStartingWithZero() 2135 unsigned MaxChars = Features.CPlusPlus? 65536 : Features.C99 ? 4095 : 509; in init() 2141 << (Features.CPlusPlus ? 2 : Features.C99 ? 1 : 0) in init()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/Language/ |
| H A D | CMakeLists.txt | 2 add_subdirectory(CPlusPlus)
|
| /openbsd-src/gnu/llvm/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 161 return getLangOpts().CPlusPlus; in isSimpleTypeSpecifier() 458 !(getLangOpts().CPlusPlus && NewSSPtr && in getTypeName() 787 if (getLangOpts().CPlusPlus && !IsTemplateName) { in DiagnoseUnknownTypeName() 836 bool CheckTemplate = R.getSema().getLangOpts().CPlusPlus && in isResultTypeOrTemplate() 882 << Name << TagName << SemaRef.getLangOpts().CPlusPlus in isTagTypeWithMissingTag() 909 if (getLangOpts().CPlusPlus && SS.isSet() && in ClassifyName() 959 if (getLangOpts().CPlusPlus) in ClassifyName() 995 if (!getLangOpts().CPlusPlus && !SecondTry && in ClassifyName() 1012 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) && in ClassifyName() 1094 if (getLangOpts().CPlusPlus && NextToken.is(tok::less) && in ClassifyName() [all …]
|
| /openbsd-src/gnu/llvm/clang/lib/Parse/ |
| H A D | Parser.cpp | 194 if (Kind == OutsideFunction && getLangOpts().CPlusPlus) { in ConsumeExtraSemi() 599 !getLangOpts().CPlusPlus && !getLangOpts().IsHeaderFile) in ParseFirstTopLevelDecl() 973 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 983 if (getLangOpts().CPlusPlus) { in ParseExternalDeclaration() 1006 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_template)) { in ParseExternalDeclaration() 1053 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isDeclarationAfterDeclarator() 1064 (getLangOpts().CPlusPlus && in isDeclarationAfterDeclarator() 1076 if (!getLangOpts().CPlusPlus && in isStartOfFunctionDefinition() 1080 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isStartOfFunctionDefinition() 1203 if (getLangOpts().CPlusPlus && isTokenStringLiteral() && in ParseDeclOrFunctionDefInternal() [all …]
|
| H A D | ParseStmt.cpp | 236 if ((getLangOpts().CPlusPlus || getLangOpts().MicrosoftExt || in ParseStatementOrDeclarationAfterAttributes() 720 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement() 1054 if (getLangOpts().CPlusPlus) { in DiagnoseLabelAtEndOfCompoundStatement() 1286 if (getLangOpts().CPlusPlus) { in ParseParenExprOrCondition() 1471 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseIfStatement() 1668 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseSwitchStatement() 1756 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseWhileStatement() 1842 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseDoStatement() 1952 bool C99orCXXorObjC = getLangOpts().C99 || getLangOpts().CPlusPlus || in ParseForStatement() 2009 } else if (getLangOpts().CPlusPlus && Tok.is(tok::identifier) && in ParseForStatement() [all …]
|
| H A D | ParseDecl.cpp | 1791 if (getLangOpts().CPlusPlus && NextToken().is(tok::kw_namespace)) { in ParseDeclaration() 1914 return getLangOpts().CPlusPlus; in MightBeDeclarator() 1921 return Context == DeclaratorContext::Member || getLangOpts().CPlusPlus; in MightBeDeclarator() 1948 (getLangOpts().CPlusPlus && Context == DeclaratorContext::File); in MightBeDeclarator() 2335 if (ThisDecl && P.getLangOpts().CPlusPlus) { in ParseDeclarationAfterDeclaratorAndAttributes() 2346 if (ThisDecl && P.getLangOpts().CPlusPlus) { in ParseDeclarationAfterDeclaratorAndAttributes() 2703 if (getLangOpts().CPlusPlus && in ParseImplicitInt() 2712 if (getLangOpts().CPlusPlus && (!SS || SS->isEmpty()) && in ParseImplicitInt() 2761 << TokenName << TagName << getLangOpts().CPlusPlus in ParseImplicitInt() 2850 bool IsTemplateName = getLangOpts().CPlusPlus && NextToken().is(tok::less); in ParseImplicitInt() [all …]
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Plugins/LanguageRuntime/CPlusPlus/ |
| H A D | BUILD.gn | 1 static_library("CPlusPlus") {
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Plugins/REPL/Clang/ |
| H A D | BUILD.gn | 9 "//lldb/source/Plugins/LanguageRuntime/CPlusPlus",
|
| /openbsd-src/gnu/llvm/llvm/utils/gn/secondary/lldb/source/Plugins/LanguageRuntime/RenderScript/RenderScriptRuntime/ |
| H A D | BUILD.gn | 23 # Reaches into Plugins/LanguageRuntime/CPlusPlus.
|