Home
last modified time | relevance | path

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

123456

/freebsd-13.1/contrib/llvm-project/clang/include/clang/Basic/
H A DFeatures.def207 FEATURE(is_abstract, LangOpts.CPlusPlus)
208 FEATURE(is_base_of, LangOpts.CPlusPlus)
209 FEATURE(is_class, LangOpts.CPlusPlus)
212 FEATURE(is_empty, LangOpts.CPlusPlus)
213 FEATURE(is_enum, LangOpts.CPlusPlus)
214 FEATURE(is_final, LangOpts.CPlusPlus)
215 FEATURE(is_literal, LangOpts.CPlusPlus)
217 FEATURE(is_pod, LangOpts.CPlusPlus)
220 FEATURE(is_trivial, LangOpts.CPlusPlus)
224 FEATURE(is_union, LangOpts.CPlusPlus)
[all …]
H A DLangStandards.def102 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 |
197 LineComment | CPlusPlus | CPlusPlus11 | CPlusPlus14 | Digraphs)
[all …]
H A DLangStandard.h48 CPlusPlus = (1 << 5), enumerator
102 bool isCPlusPlus() const { return Flags & CPlusPlus; } in isCPlusPlus()
/freebsd-13.1/contrib/llvm-project/clang/lib/AST/
H A DExprClassification.cpp43 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyImpl()
278 return Lang.CPlusPlus ? Cl::CL_LValue : Cl::CL_PRValue; in ClassifyInternal()
314 if (Lang.CPlusPlus) in ClassifyInternal()
369 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal()
377 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal()
384 if (!Lang.CPlusPlus) return Cl::CL_PRValue; in ClassifyInternal()
473 (Ctx.getLangOpts().CPlusPlus && in ClassifyDecl()
485 if (!Ctx.getLangOpts().CPlusPlus) return Cl::CL_PRValue; in ClassifyUnnamed()
506 if (!Ctx.getLangOpts().CPlusPlus) { in ClassifyMemberExpr()
558 assert(Ctx.getLangOpts().CPlusPlus && in ClassifyBinaryOp()
[all …]
H A DTemplateName.cpp262 LO.CPlusPlus = true; in operator <<()
273 LO.CPlusPlus = true; in dump()
H A DDecl.cpp534 if (!Opts.CPlusPlus || !Opts.InlineVisibilityHidden) in useInlineVisibilityHidden()
652 if (Context.getLangOpts().CPlusPlus && in getLVForNamespaceScopeDecl()
1299 if (!Context.getLangOpts().CPlusPlus) in getLVForLocalDecl()
1490 if (!Opts.CPlusPlus || Opts.MicrosoftExt) in getLVForDecl()
2078 if (!Context.getLangOpts().CPlusPlus) in getDeclLanguageLinkage()
2332 if (!Lang.CPlusPlus && !Lang.OpenCL) in mightBeUsableInConstantExpressions()
3361 if (!getASTContext().getLangOpts().CPlusPlus) in getMinRequiredArguments()
3453 if (Context.getLangOpts().CPlusPlus) in doesDeclarationForceExternallyVisibleDefinition()
3574 if (Context.getLangOpts().CPlusPlus) in isInlineDefinitionExternallyVisible()
3591 assert(!Context.getLangOpts().CPlusPlus && in isInlineDefinitionExternallyVisible()
[all …]
/freebsd-13.1/lib/clang/liblldb/
H A DMakefile371 SRCS+= Plugins/Language/CPlusPlus/BlockPointer.cpp
375 SRCS+= Plugins/Language/CPlusPlus/LibCxx.cpp
376 SRCS+= Plugins/Language/CPlusPlus/LibCxxAtomic.cpp
377 SRCS+= Plugins/Language/CPlusPlus/LibCxxBitset.cpp
379 SRCS+= Plugins/Language/CPlusPlus/LibCxxList.cpp
380 SRCS+= Plugins/Language/CPlusPlus/LibCxxMap.cpp
382 SRCS+= Plugins/Language/CPlusPlus/LibCxxQueue.cpp
383 SRCS+= Plugins/Language/CPlusPlus/LibCxxTuple.cpp
385 SRCS+= Plugins/Language/CPlusPlus/LibCxxVariant.cpp
386 SRCS+= Plugins/Language/CPlusPlus/LibCxxVector.cpp
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/
H A DIdentifierTable.cpp131 if (LangOpts.CPlusPlus && (Flags & KEYCXX)) return KS_Enabled; in getKeywordStatus()
148 if (!LangOpts.CPlusPlus && (Flags & KEYNOCXX)) return KS_Enabled; in getKeywordStatus()
156 if (LangOpts.CPlusPlus && (Flags & KEYALLCXX)) return KS_Future; in getKeywordStatus()
157 if (LangOpts.CPlusPlus && !LangOpts.CPlusPlus20 && (Flags & CHAR8SUPPORT)) in getKeywordStatus()
268 if (!LangOpts.CPlusPlus || !isKeyword(LangOpts)) in isCPlusPlusKeyword()
273 LangOptsNoCPP.CPlusPlus = false; in isCPlusPlusKeyword()
306 if (LangOpts.CPlusPlus && Name.contains("__")) in isReserved()
/freebsd-13.1/contrib/llvm-project/clang/lib/Basic/Targets/
H A DOSTargets.h275 if (Opts.CPlusPlus) in getOSDefines()
332 if (Opts.CPlusPlus) in getOSDefines()
391 if (Opts.CPlusPlus) in getOSDefines()
594 if (Opts.CPlusPlus) in getOSDefines()
639 if (Opts.CPlusPlus) { in getOSDefines()
724 if (Opts.CPlusPlus && Opts.WChar) { in getOSDefines()
775 if (Opts.CPlusPlus) { in getOSDefines()
786 if (Opts.CPlusPlus && Opts.WChar) { in getOSDefines()
835 if (Opts.CPlusPlus) in getOSDefines()
890 if (Opts.CPlusPlus) in getOSDefines()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/include/clang/AST/
H A DPrettyPrinter.h63 SuppressTagKeyword(LO.CPlusPlus), IncludeTagDefinition(false), in PrintingPolicy()
71 UnderscoreAlignof(LO.C11), UseVoidForZeroParams(!LO.CPlusPlus), in PrintingPolicy()
/freebsd-13.1/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DVirtualCallChecker.cpp229 return LO.CPlusPlus; in shouldRegisterVirtualCallModeling()
234 return LO.CPlusPlus; in shouldRegisterPureVirtualCallChecker()
239 return LO.CPlusPlus; in shouldRegisterVirtualCallChecker()
H A DPointerIterationChecker.cpp100 return LO.CPlusPlus; in shouldRegisterPointerIterationChecker()
/freebsd-13.1/contrib/llvm-project/clang/lib/Parse/
H A DParser.cpp924 if (getLangOpts().CPlusPlus) { in ParseExternalDeclaration()
987 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isDeclarationAfterDeclarator()
998 (getLangOpts().CPlusPlus && in isDeclarationAfterDeclarator()
1010 if (!getLangOpts().CPlusPlus && in isStartOfFunctionDefinition()
1014 if (getLangOpts().CPlusPlus && Tok.is(tok::equal)) { in isStartOfFunctionDefinition()
1202 (!getLangOpts().CPlusPlus || in ParseFunctionDefinition()
1634 if (getLangOpts().CPlusPlus && in TryAnnotateName()
1953 if (getLangOpts().CPlusPlus) in TryAnnotateTypeOrScopeToken()
2010 if (!getLangOpts().CPlusPlus) { in TryAnnotateTypeOrScopeTokenAfterScopeSpec()
2080 assert(getLangOpts().CPlusPlus && in TryAnnotateCXXScopeToken()
[all …]
H A DParseDecl.cpp1829 return getLangOpts().CPlusPlus; in MightBeDeclarator()
2594 if (getLangOpts().CPlusPlus && in ParseImplicitInt()
2905 if (getLangOpts().CPlusPlus && in DiagnoseMissingSemiAfterTagDefinition()
4475 if (getLangOpts().CPlusPlus) { in ParseEnumSpecifier()
4838 if (getLangOpts().CPlusPlus) in ParseEnumBody()
5670 if (!Lang.CPlusPlus) in isPtrOperatorToken()
5732 if (getLangOpts().CPlusPlus && in ParseDeclaratorInternal()
6572 if (getLangOpts().CPlusPlus) { in ParseFunctionDeclarator()
6656 !getLangOpts().CPlusPlus) { in ParseFunctionDeclarator()
6702 return !getLangOpts().CPlusPlus in isFunctionDeclaratorIdentifierList()
[all …]
H A DParseStmt.cpp216 if ((getLangOpts().CPlusPlus || getLangOpts().MicrosoftExt || in ParseStatementOrDeclarationAfterAttributes()
654 if (!getLangOpts().CPlusPlus || Tok.is(tok::semi)) in ParseLabeledStatement()
1196 if (getLangOpts().CPlusPlus) in ParseParenExprOrCondition()
1360 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseIfStatement()
1515 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseSwitchStatement()
1603 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseWhileStatement()
1689 bool C99orCXX = getLangOpts().C99 || getLangOpts().CPlusPlus; in ParseDoStatement()
1847 } else if (getLangOpts().CPlusPlus && Tok.is(tok::identifier) && in ParseForStatement()
1877 bool MightBeForRangeStmt = getLangOpts().CPlusPlus; in ParseForStatement()
1967 if (getLangOpts().CPlusPlus) { in ParseForStatement()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Lex/
H A DTokenConcatenation.cpp270 (PP.getLangOpts().CPlusPlus && FirstChar == '*'); in AvoidConcat()
289 (PP.getLangOpts().CPlusPlus && FirstChar == ':'); in AvoidConcat()
293 return PP.getLangOpts().CPlusPlus && FirstChar == '*'; in AvoidConcat()
H A DLexer.cpp1458 } else if (LangOpts.CPlusPlus) { in isAllowedIDChar()
1477 } else if (LangOpts.CPlusPlus) { in isAllowedInitiallyIDChar()
1811 Diag(CurPtr, getLangOpts().CPlusPlus in LexNumericConstant()
1837 assert(getLangOpts().CPlusPlus); in LexUDSuffix()
1936 Diag(BufferPtr, getLangOpts().CPlusPlus in LexStringLiteral()
1972 if (getLangOpts().CPlusPlus) in LexStringLiteral()
2056 if (getLangOpts().CPlusPlus) in LexRawStringLiteral()
2152 Diag(BufferPtr, getLangOpts().CPlusPlus in LexCharConstant()
2194 if (getLangOpts().CPlusPlus) in LexCharConstant()
3039 if (!LangOpts.CPlusPlus && !LangOpts.C99) { in tryReadUCN()
[all …]
H A DLiteralSupport.cpp337 if (!Features.CPlusPlus && !Features.C99 && Diags) in ProcessUCNEscape()
911 << LangOpts.CPlusPlus << 1; in ParseNumberStartingWithZero()
938 Diags.Report(TokLoc, LangOpts.CPlusPlus in ParseNumberStartingWithZero()
947 << LangOpts.CPlusPlus << 0; in ParseNumberStartingWithZero()
958 : LangOpts.CPlusPlus ? diag::ext_binary_literal_cxx14 in ParseNumberStartingWithZero()
1789 unsigned MaxChars = Features.CPlusPlus? 65536 : Features.C99 ? 4095 : 509; in init()
1795 << (Features.CPlusPlus ? 2 : Features.C99 ? 1 : 0) in init()
/freebsd-13.1/contrib/llvm-project/clang/lib/Sema/
H A DSemaDecl.cpp156 return getLangOpts().CPlusPlus; in isSimpleTypeSpecifier()
2107 if (getLangOpts().CPlusPlus) { in CreateBuiltin()
2398 if (getLangOpts().CPlusPlus) { in MergeTypedefNameDecl()
3140 !LangOpts.CPlusPlus && in canRedefineFunction()
3542 if (getLangOpts().CPlusPlus) { in MergeFunctionDecl()
3912 if (getLangOpts().CPlusPlus) in MergeCompatibleFunctionDecls()
4841 if (getLangOpts().CPlusPlus) in ParsedFreeStandingDeclSpec()
5949 if (getLangOpts().CPlusPlus) in HandleDeclarator()
8995 (LangOpts.CPlusPlus && in getTagInjectionScope()
12350 if (getLangOpts().CPlusPlus) in AddInitializerToDecl()
[all …]
H A DSemaCXXScopeSpec.cpp180 assert(getLangOpts().CPlusPlus && "Only callable in C++"); in getCurrentInstantiationOf()
613 << IdInfo.Identifier << getLangOpts().CPlusPlus in BuildCXXNestedNameSpecifier()
623 << IdInfo.Identifier << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier()
829 << Context.getTypeDeclType(TD) << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier()
832 << IdInfo.Identifier << getLangOpts().CPlusPlus; in BuildCXXNestedNameSpecifier()
874 << T << getLangOpts().CPlusPlus; in ActOnCXXNestedNameSpecifierDecltype()
H A DSemaExpr.cpp155 if (S.getLangOpts().CPlusPlus) in diagnoseUseOfInternalDeclInInlineFunction()
643 if (getLangOpts().CPlusPlus && in DefaultLvalueConversion()
1031 if (!getLangOpts().CPlusPlus && in DefaultVariadicArgumentPromotion()
3085 if (!getLangOpts().CPlusPlus) in UseArgumentDependentLookup()
4086 if (S.LangOpts.CPlusPlus) in CheckExtensionTraitOperandType()
4755 if (getLangOpts().CPlusPlus && in ActOnArraySubscriptExpr()
4784 if (getLangOpts().CPlusPlus && in ActOnArraySubscriptExpr()
6427 if (getLangOpts().CPlusPlus) { in BuildCallExpr()
7611 if (getLangOpts().CPlusPlus) { in ActOnCastExpr()
8293 if (getLangOpts().CPlusPlus) in CheckConditionalOperands()
[all …]
H A DSemaLookup.cpp210 bool CPlusPlus, in getIDNS() argument
220 if (CPlusPlus) { in getIDNS()
237 if (CPlusPlus) { in getIDNS()
258 if (CPlusPlus) in getIDNS()
1091 if (S.getLangOpts().CPlusPlus) in LookupDirect()
1919 if (!getLangOpts().CPlusPlus) { in LookupName()
3760 if (SemaRef.getLangOpts().CPlusPlus) { in lookupVisibleDecls()
4725 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4764 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
4831 if (SemaRef.getLangOpts().CPlusPlus) { in AddKeywordsToConsumer()
[all …]
/freebsd-13.1/contrib/llvm-project/clang/lib/Frontend/
H A DInitHeaderSearch.cpp459 if (Lang.CPlusPlus && !Lang.AsmPreprocessor && in AddDefaultIncludePaths()
581 (!Lang.ObjC && !Lang.CPlusPlus && Include.Group == CSystem) || in Realize()
582 (/*FIXME !Lang.ObjC && */ Lang.CPlusPlus && in Realize()
584 (Lang.ObjC && !Lang.CPlusPlus && Include.Group == ObjCSystem) || in Realize()
585 (Lang.ObjC && Lang.CPlusPlus && Include.Group == ObjCXXSystem)) in Realize()
H A DInitPreprocessor.cpp373 if (!LangOpts.CPlusPlus) { in InitializeStandardPredefinedMacros()
435 if (LangOpts.CPlusPlus) { in InitializeStandardPredefinedMacros()
666 if (LangOpts.CPlusPlus) { in InitializePredefinedMacros()
767 if (LangOpts.CPlusPlus) in InitializePredefinedMacros()
802 if (!LangOpts.MSVCCompat && LangOpts.CPlusPlus) in InitializePredefinedMacros()
1028 if (LangOpts.GNUInline || LangOpts.CPlusPlus) in InitializePredefinedMacros()
1178 if (TI.hasInt128Type() && LangOpts.CPlusPlus && LangOpts.GNUMode) { in InitializePredefinedMacros()
1223 if (LangOpts.ObjC && LangOpts.CPlusPlus && in InitializePreprocessor()
/freebsd-13.1/contrib/llvm-project/clang/lib/CodeGen/
H A DCodeGenTBAA.cpp49 if (Features.CPlusPlus) in getRoot()
203 if (!Features.CPlusPlus || !ETy->getDecl()->isExternallyVisible()) in getTypeInfoHelper()
356 if (Features.CPlusPlus) { in getBaseTypeInfoHelper()

123456