| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Basic/ |
| H A D | Features.def | 198 FEATURE(is_abstract, LangOpts.CPlusPlus) 199 FEATURE(is_base_of, LangOpts.CPlusPlus) 200 FEATURE(is_class, LangOpts.CPlusPlus) 203 FEATURE(is_empty, LangOpts.CPlusPlus) 204 FEATURE(is_enum, LangOpts.CPlusPlus) 205 FEATURE(is_final, LangOpts.CPlusPlus) 206 FEATURE(is_literal, LangOpts.CPlusPlus) 208 FEATURE(is_pod, LangOpts.CPlusPlus) 211 FEATURE(is_trivial, LangOpts.CPlusPlus) 215 FEATURE(is_union, LangOpts.CPlusPlus) [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/Frontend/ |
| H A D | LangStandards.def | 95 LineComment | CPlusPlus | Digraphs) 100 LineComment | CPlusPlus | Digraphs | GNUMode) 105 LineComment | CPlusPlus | CPlusPlus11 | Digraphs) 110 LineComment | CPlusPlus | CPlusPlus11 | Digraphs | GNUMode) 115 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs) 120 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs | 126 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 132 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 138 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | CPlusPlus17 | 172 LineComment | CPlusPlus | Digraphs) [all …]
|
| H A D | LangStandard.h | 26 CPlusPlus = (1 << 4), enumerator 78 bool isCPlusPlus() const { return Flags & frontend::CPlusPlus; } in isCPlusPlus()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/AST/ |
| H A D | ExprClassification.cpp | 44 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyImpl() 263 return Lang.CPlusPlus ? Cl::CL_LValue : Cl::CL_PRValue; in ClassifyInternal() 298 if (Lang.CPlusPlus) in ClassifyInternal() 347 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 355 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 362 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal() 448 (Ctx.getLangOpts().CPlusPlus && in ClassifyDecl() 460 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue; in ClassifyUnnamed() 481 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyMemberExpr() 533 assert(Ctx.getLangOpts().CPlusPlus && in ClassifyBinaryOp() [all …]
|
| H A D | TemplateName.cpp | 245 LO.CPlusPlus = true; in operator <<() 256 LO.CPlusPlus = true; in dump()
|
| H A D | TemplateBase.cpp | 459 LO.CPlusPlus = true; in dump() 543 LangOpts.CPlusPlus = true; in operator <<() 554 LangOpts.CPlusPlus = true; in operator <<()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/Targets/ |
| H A D | OSTargets.h | 250 if (Opts.CPlusPlus) in getOSDefines() 307 if (Opts.CPlusPlus) in getOSDefines() 362 if (Opts.CPlusPlus) in getOSDefines() 546 if (Opts.CPlusPlus) in getOSDefines() 591 if (Opts.CPlusPlus) in getOSDefines() 632 if (Opts.CPlusPlus) { in getVisualStudioDefines() 699 if (Opts.CPlusPlus) in getOSDefines() 752 if (Opts.CPlusPlus) in getOSDefines() 774 if (Opts.CPlusPlus) in getOSDefines()
|
| /freebsd-12.1/contrib/llvm/tools/clang/include/clang/AST/ |
| H A D | PrettyPrinter.h | 42 SuppressTagKeyword(LO.CPlusPlus), IncludeTagDefinition(false), in PrintingPolicy() 49 UseVoidForZeroParams(!LO.CPlusPlus), TerseOutput(false), in PrintingPolicy()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Parse/ |
| H A D | Parser.cpp | 538 !getLangOpts().CPlusPlus) in ParseFirstTopLevelDecl() 804 if (getLangOpts().CPlusPlus) { in ParseExternalDeclaration() 868 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isDeclarationAfterDeclarator() 879 (getLangOpts().CPlusPlus && in isDeclarationAfterDeclarator() 891 if (!getLangOpts().CPlusPlus && in isStartOfFunctionDefinition() 1079 (!getLangOpts().CPlusPlus || in ParseFunctionDefinition() 1498 if (getLangOpts().CPlusPlus && in TryAnnotateName() 1758 if (getLangOpts().CPlusPlus) in TryAnnotateTypeOrScopeToken() 1813 if (!getLangOpts().CPlusPlus) { in TryAnnotateTypeOrScopeTokenAfterScopeSpec() 1876 assert(getLangOpts().CPlusPlus && in TryAnnotateCXXScopeToken() [all …]
|
| H A D | ParseDecl.cpp | 1786 return getLangOpts().CPlusPlus; in MightBeDeclarator() 1794 getLangOpts().CPlusPlus; in MightBeDeclarator() 2502 if (getLangOpts().CPlusPlus && in ParseImplicitInt() 2791 if (getLangOpts().CPlusPlus && in DiagnoseMissingSemiAfterTagDefinition() 4172 if (getLangOpts().CPlusPlus) { in ParseEnumSpecifier() 4517 if (getLangOpts().CPlusPlus) in ParseEnumBody() 5288 if (!Lang.CPlusPlus) in isPtrOperatorToken() 5351 if (getLangOpts().CPlusPlus && in ParseDeclaratorInternal() 6123 if (getLangOpts().CPlusPlus) { in ParseFunctionDeclarator() 6223 !getLangOpts().CPlusPlus) { in ParseFunctionDeclarator() [all …]
|
| H A D | ParseStmt.cpp | 210 if ((getLangOpts().CPlusPlus || getLangOpts().MicrosoftExt || in ParseStatementOrDeclarationAfterAttributes() 606 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement() 1104 if (getLangOpts().CPlusPlus) in ParseParenExprOrCondition() 1168 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseIfStatement() 1308 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseSwitchStatement() 1394 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseWhileStatement() 1474 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseDoStatement() 1632 } else if (getLangOpts().CPlusPlus && Tok.is(tok::identifier) && in ParseForStatement() 1662 bool MightBeForRangeStmt = getLangOpts().CPlusPlus; in ParseForStatement() 1745 if (getLangOpts().CPlusPlus) { in ParseForStatement() [all …]
|
| H A D | ParseExpr.cpp | 323 if (getLangOpts().ObjC && getLangOpts().CPlusPlus && in ParseRHSOfBinaryExpression() 515 if (!getLangOpts().CPlusPlus) in ParseRHSOfBinaryExpression() 858 if (getLangOpts().CPlusPlus) { in ParseCastExpression() 975 !(getLangOpts().CPlusPlus && Tok.is(tok::kw_class))) { in ParseCastExpression() 1121 Res = ParseCastExpression(!getLangOpts().CPlusPlus, in ParseCastExpression() 1273 if (!getLangOpts().CPlusPlus) { in ParseCastExpression() 1730 if (getLangOpts().CPlusPlus && !LHS.isInvalid()) { in ParsePostfixExpressionSuffix() 1759 if (getLangOpts().CPlusPlus && OrigLHS) { in ParsePostfixExpressionSuffix() 1770 if (!CorrectedBase && !getLangOpts().CPlusPlus) in ParsePostfixExpressionSuffix() 1902 if (OpTok.is(tok::kw_typeof) && !getLangOpts().CPlusPlus) { in ParseExprAfterUnaryExprOrTypeTrait() [all …]
|
| /freebsd-12.1/lib/clang/liblldb/ |
| H A D | Makefile | 333 SRCS+= Plugins/Language/CPlusPlus/BlockPointer.cpp 334 SRCS+= Plugins/Language/CPlusPlus/CPlusPlusLanguage.cpp 335 SRCS+= Plugins/Language/CPlusPlus/CPlusPlusNameParser.cpp 336 SRCS+= Plugins/Language/CPlusPlus/LibCxx.cpp 337 SRCS+= Plugins/Language/CPlusPlus/LibCxxAtomic.cpp 338 SRCS+= Plugins/Language/CPlusPlus/LibCxxInitializerList.cpp 339 SRCS+= Plugins/Language/CPlusPlus/LibCxxList.cpp 340 SRCS+= Plugins/Language/CPlusPlus/LibCxxMap.cpp 341 SRCS+= Plugins/Language/CPlusPlus/LibCxxUnorderedMap.cpp 342 SRCS+= Plugins/Language/CPlusPlus/LibCxxVector.cpp [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Sema/ |
| H A D | SemaDecl.cpp | 149 return getLangOpts().CPlusPlus; in isSimpleTypeSpecifier() 1978 if (getLangOpts().CPlusPlus) { in LazilyCreateBuiltin() 2219 if (getLangOpts().CPlusPlus) { in MergeTypedefNameDecl() 2852 !LangOpts.CPlusPlus && in canRedefineFunction() 3227 if (getLangOpts().CPlusPlus) { in MergeFunctionDecl() 3599 if (getLangOpts().CPlusPlus) in MergeCompatibleFunctionDecls() 3663 if (getLangOpts().CPlusPlus) { in MergeVarDeclTypes() 3976 if (getLangOpts().CPlusPlus && in MergeVarDecl() 4410 if (getLangOpts().CPlusPlus) in ParsedFreeStandingDeclSpec() 5489 if (getLangOpts().CPlusPlus) in HandleDeclarator() [all …]
|
| H A D | SemaCXXScopeSpec.cpp | 181 assert(getLangOpts().CPlusPlus && "Only callable in C++"); in getCurrentInstantiationOf() 595 << IdInfo.Identifier << getLangOpts().CPlusPlus in BuildCXXNestedNameSpecifier() 605 << IdInfo.Identifier << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier() 811 << Context.getTypeDeclType(TD) << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier() 814 << IdInfo.Identifier << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier() 856 << T << getLangOpts().CPlusPlus; in ActOnCXXNestedNameSpecifierDecltype()
|
| H A D | SemaExpr.cpp | 151 if (S.getLangOpts().CPlusPlus) in diagnoseUseOfInternalDeclInInlineFunction() 571 if (getLangOpts().CPlusPlus && in DefaultLvalueConversion() 930 if (!getLangOpts().CPlusPlus && in DefaultVariadicArgumentPromotion() 2707 if (!getLangOpts().CPlusPlus) in UseArgumentDependentLookup() 3628 if (S.LangOpts.CPlusPlus) in CheckExtensionTraitOperandType() 4250 if (getLangOpts().CPlusPlus && in ActOnArraySubscriptExpr() 4279 if (getLangOpts().CPlusPlus && in ActOnArraySubscriptExpr() 5418 if (getLangOpts().CPlusPlus) { in ActOnCallExpr() 6352 if (getLangOpts().CPlusPlus) { in ActOnCastExpr() 7034 if (getLangOpts().CPlusPlus) in CheckConditionalOperands() [all …]
|
| H A D | SemaLookup.cpp | 208 bool CPlusPlus, in getIDNS() argument 217 if (CPlusPlus) { in getIDNS() 234 if (CPlusPlus) { in getIDNS() 255 if (CPlusPlus) in getIDNS() 836 if (S.getLangOpts().CPlusPlus) in LookupDirect() 1740 if (!getLangOpts().CPlusPlus) { in LookupName() 3774 if (getLangOpts().CPlusPlus) { in LookupVisibleDecls() 4437 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer() 4476 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer() 4543 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer() [all …]
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Basic/ |
| H A D | IdentifierTable.cpp | 123 if (LangOpts.CPlusPlus && (Flags & KEYCXX)) return KS_Enabled; in getKeywordStatus() 139 if (!LangOpts.CPlusPlus && (Flags & KEYNOCXX)) return KS_Enabled; in getKeywordStatus() 147 if (LangOpts.CPlusPlus && (Flags & KEYALLCXX)) return KS_Future; in getKeywordStatus() 252 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword() 257 LangOptsNoCPP.CPlusPlus = false; in isCPlusPlusKeyword()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Lex/ |
| H A D | TokenConcatenation.cpp | 266 (PP.getLangOpts().CPlusPlus && FirstChar == '*'); in AvoidConcat() 285 (PP.getLangOpts().CPlusPlus && FirstChar == ':'); in AvoidConcat() 289 return PP.getLangOpts().CPlusPlus && FirstChar == '*'; in AvoidConcat()
|
| H A D | Lexer.cpp | 1431 } else if (LangOpts.CPlusPlus) { in isAllowedIDChar() 1450 } else if (LangOpts.CPlusPlus) { in isAllowedInitiallyIDChar() 1808 assert(getLangOpts().CPlusPlus); in LexUDSuffix() 1907 Diag(BufferPtr, getLangOpts().CPlusPlus in LexStringLiteral() 1943 if (getLangOpts().CPlusPlus) in LexStringLiteral() 2027 if (getLangOpts().CPlusPlus) in LexRawStringLiteral() 2118 Diag(BufferPtr, getLangOpts().CPlusPlus in LexCharConstant() 2160 if (getLangOpts().CPlusPlus) in LexCharConstant() 2968 if (!LangOpts.CPlusPlus && !LangOpts.C99) { in tryReadUCN() 3500 } else if (LangOpts.CPlusPlus && Char == '*') { in LexTokenInternal() [all …]
|
| H A D | LiteralSupport.cpp | 337 if (!Features.CPlusPlus && !Features.C99 && Diags) in ProcessUCNEscape() 873 << PP.getLangOpts().CPlusPlus << 1; in ParseNumberStartingWithZero() 899 PP.Diag(TokLoc, PP.getLangOpts().CPlusPlus in ParseNumberStartingWithZero() 907 << PP.getLangOpts().CPlusPlus << 0; in ParseNumberStartingWithZero() 919 : PP.getLangOpts().CPlusPlus in ParseNumberStartingWithZero() 1733 unsigned MaxChars = Features.CPlusPlus? 65536 : Features.C99 ? 4095 : 509; in init() 1739 << (Features.CPlusPlus ? 2 : Features.C99 ? 1 : 0) in init()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/Frontend/ |
| H A D | InitHeaderSearch.cpp | 468 if (Lang.CPlusPlus && !Lang.AsmPreprocessor && in AddDefaultIncludePaths() 598 (!Lang.ObjC && !Lang.CPlusPlus && Include.first == CSystem) || in Realize() 599 (/*FIXME !Lang.ObjC && */ Lang.CPlusPlus && in Realize() 601 (Lang.ObjC && !Lang.CPlusPlus && Include.first == ObjCSystem) || in Realize() 602 (Lang.ObjC && Lang.CPlusPlus && Include.first == ObjCXXSystem)) in Realize()
|
| H A D | InitPreprocessor.cpp | 354 if (!LangOpts.CPlusPlus) { in InitializeStandardPredefinedMacros() 411 if (LangOpts.CPlusPlus) { in InitializeStandardPredefinedMacros() 677 if (LangOpts.CPlusPlus) in InitializePredefinedMacros() 712 if (!LangOpts.MSVCCompat && LangOpts.CPlusPlus) { in InitializePredefinedMacros() 926 if (LangOpts.GNUInline || LangOpts.CPlusPlus) in InitializePredefinedMacros() 1072 if (TI.hasInt128Type() && LangOpts.CPlusPlus && LangOpts.GNUMode) { in InitializePredefinedMacros() 1115 if (LangOpts.ObjC && LangOpts.CPlusPlus && in InitializePreprocessor()
|
| /freebsd-12.1/contrib/llvm/tools/clang/lib/CodeGen/ |
| H A D | CodeGenTBAA.cpp | 50 if (Features.CPlusPlus) in getRoot() 175 if (!Features.CPlusPlus || !ETy->getDecl()->isExternallyVisible()) in getTypeInfoHelper() 315 if (Features.CPlusPlus) { in getBaseTypeInfoHelper()
|
| /freebsd-12.1/contrib/llvm/tools/lldb/ |
| H A D | FREEBSD-Xlist | 91 source/Plugins/Language/CPlusPlus/CMakeLists.txt 96 source/Plugins/LanguageRuntime/CPlusPlus/CMakeLists.txt 97 source/Plugins/LanguageRuntime/CPlusPlus/ItaniumABI/CMakeLists.txt
|