Searched refs:getLangOpts (Results 126 - 150 of 250) sorted by relevance

12345678910

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp922 StepsLeft(C.getLangOpts().ConstexprStepLimit),
923 EnableNewConstInterp(C.getLangOpts().EnableNewConstInterp),
951 if (CallStackDepth <= getLangOpts().ConstexprCallDepth)
954 << getLangOpts().ConstexprCallDepth;
2012 if (Info.getLangOpts().CPlusPlus11) {
2058 if (Info.getLangOpts().CPlusPlus && Usage == Expr::EvaluateForCodeGen &&
2145 if (Info.getLangOpts().CPlusPlus11)
2517 if (Info.getLangOpts().OpenCL)
2536 } else if (LHS.isSigned() && !Info.getLangOpts().CPlusPlus2a) {
2550 if (Info.getLangOpts()
[all...]
H A DDeclCXX.cpp133 R->setMayHaveOutOfDateDef(C.getLangOpts().Modules);
195 if (!C.getLangOpts().CPlusPlus17) {
669 return getASTContext().getLangOpts().CPlusPlus2a;
785 if (getASTContext().getLangOpts().CPlusPlus2a
936 Context.getLangOpts().getClangABICompat() >
1035 } else if (!Context.getLangOpts().ObjCAutoRefCount) {
1086 if (!getASTContext().getLangOpts().CPlusPlus14)
1291 !Context.getLangOpts().CPlusPlus2a))
2240 if (Context.getLangOpts().CPlusPlus17 ||
2241 Context.getLangOpts()
[all...]
H A DRecordLayoutBuilder.cpp1200 (Packed && ((Context.getLangOpts().getClangABICompat() <=
1265 if (unsigned DefaultMaxFieldAlignment = Context.getLangOpts().PackStruct) {
1400 assert(Context.getLangOpts().CPlusPlus &&
1918 if (Context.getLangOpts().CPlusPlus && getSizeInBits() == 0) {
2127 if (Context.getLangOpts().CUDA) {
2131 if (Context.getLangOpts().CUDAIsDevice) {
2522 if (unsigned DefaultMaxFieldAlignment = Context.getLangOpts().PackStruct)
3104 if (getLangOpts().DumpRecordLayouts) {
3106 DumpRecordLayout(D, llvm::outs(), getLangOpts().DumpRecordLayoutsSimple);
H A DExpr.cpp428 if ((Ctx.getLangOpts().CPlusPlus11 ?
731 PrintingPolicy Policy(Context.getLangOpts());
769 !Context.getLangOpts().CPlusPlus) &&
2619 if (Ctx.getLangOpts().ObjCAutoRefCount &&
3746 (!Ctx.getLangOpts().CPlusPlus11 || Ctx.getLangOpts().MSVCCompat)) {
3763 if (!Ctx.getLangOpts().CPlusPlus) {
3772 if ((Ctx.getLangOpts().OpenCLVersion >= 200 &&
3774 (Ctx.getLangOpts().OpenCL &&
3775 Ctx.getLangOpts()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp61 if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts()))
342 if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts()))
450 if (!checkForLiteralCreation(Msg, Cls, NS.getASTContext().getLangOpts()))
608 if (!checkForLiteralCreation(Msg, II, NS.getASTContext().getLangOpts()))
690 Ctx.getSourceManager(), Ctx.getLangOpts());
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DPlistDiagnostics.cpp201 const LangOptions &LangOpts = PP.getLangOpts();
232 const LangOptions &LangOpts = PP.getLangOpts();
258 const LangOptions &LangOpts = PP.getLangOpts();
606 const LangOptions &LangOpts = PP.getLangOpts();
1055 const LangOptions &LangOpts = PP.getLangOpts();
H A DBasicValueFactory.cpp242 if (!Ctx.getLangOpts().CPlusPlus2a) {
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DInitPreprocessor.cpp1131 const LangOptions &LangOpts = PP.getLangOpts();
1140 if (!PP.getLangOpts().AsmPreprocessor)
1174 InitializeStandardPredefinedMacros(PP.getTargetInfo(), PP.getLangOpts(),
1179 if (!PP.getLangOpts().AsmPreprocessor)
1192 if (!PP.getLangOpts().AsmPreprocessor)
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp1371 if (CGM.getLangOpts().Optimize) {
1759 if (!CGF.EHStack.requiresLandingPad() || !CGF.getLangOpts().Exceptions ||
1760 !CGF.getLangOpts().CXXExceptions ||
2704 if (CGM.getLangOpts().OpenMPSimd)
2733 if (!CGM.getLangOpts().OpenMPIsDevice)
2744 assert(!CGM.getLangOpts().OpenMPUseTLS ||
2756 if (CGM.getLangOpts().OpenMPUseTLS &&
2791 if (CGM.getLangOpts().OpenMPUseTLS &&
2801 if (CGM.getLangOpts().CPlusPlus && PerformInit) {
2911 if (CGM.getLangOpts()
[all...]
H A DCGDebugInfo.cpp335 if (CGM.getLangOpts().CPlusPlus) {
555 const LangOptions &LO = CGM.getLangOpts();
806 BTName = BT->getName(CGM.getLangOpts());
1039 if (CGM.getLangOpts().OpenCL) {
1648 if (CGM.getLangOpts().Optimize)
1797 if (!CGM.getLangOpts().CUDA || CGM.getLangOpts().CUDAIsDevice ||
2022 VFTLayout.vtable_components().size() - CGM.getLangOpts().RTTIData;
2103 !CGM.getLangOpts().CPlusPlus)
2244 if (shouldOmitDefinition(DebugKind, DebugTypeExtRefs, RD, CGM.getLangOpts()))
[all...]
H A DModuleBuilder.cpp238 if (Ctx->getLangOpts().OpenMP) {
H A DCGObjCMac.cpp1952 return (!CGM.getLangOpts().NoConstantCFStrings
1969 auto &StringClass = CGM.getLangOpts().ObjCConstantStringClass;
1985 auto &StringClass = CGM.getLangOpts().ObjCConstantStringClass;
2031 bool isConstant = !CGM.getLangOpts().WritableStrings;
2053 GV->setSection(CGM.getLangOpts().ObjCRuntime.isNonFragile()
2252 if (!RequiresNullCheck && CGM.getLangOpts().ObjCAutoRefCount && Method) {
2310 if (Ctx.getLangOpts().getGC() != LangOptions::NonGC) {
2391 if (CGM.getLangOpts().getGC() == LangOptions::NonGC)
2404 if (CGM.getLangOpts().ObjCGCBitmapPrint && !buffer.empty()) {
2474 if (CGM.getLangOpts()
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseObjc.cpp80 if (getLangOpts().Modules || getLangOpts().DebuggerSupport) {
265 else if (!getLangOpts().ObjC) {
1118 return (getLangOpts().ObjC && Tok.is(tok::identifier) &&
1352 if (getLangOpts().ObjC)
1379 if (getLangOpts().ObjC)
1415 if (getLangOpts().ObjC)
1499 if (getLangOpts().ObjC)
1565 assert(getLangOpts().ObjC && "Protocol qualifiers only exist in Objective-C");
2749 getLangOpts()
[all...]
H A DParseStmtAsm.cpp223 if (getLangOpts().CPlusPlus) {
710 if (getLangOpts().AsmBlocks && !isGCCAsmStatement(Tok)) {
750 if (!(getLangOpts().GNUAsm || AsmString.isInvalid())) {
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Core/
H A DCheckerManager.h131 : Context(Context), LangOpts(Context.getLangOpts()), AOptions(AOptions) {}
142 const LangOptions &getLangOpts() const { return LangOpts; } function in class:clang::ento::CheckerManager
/freebsd-11-stable/contrib/llvm-project/clang/lib/CrossTU/
H A DCrossTranslationUnit.cpp265 const auto &LangTo = Context.getLangOpts();
266 const auto &LangFrom = Unit->getASTContext().getLangOpts();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DIdentifierResolver.cpp90 : LangOpt(PP.getLangOpts()), PP(PP), IdDeclInfos(new IdDeclInfoMap) {}
H A DJumpDiagnostics.cpp173 if (S.Context.getLangOpts().CPlusPlus && VD->hasLocalStorage() && Init) {
801 return S.getLangOpts().CPlusPlus11 &&
905 if (S.getLangOpts().MSVCCompat && JumpDiagWarning != 0 &&
H A DAnalysisBasedWarnings.cpp341 if (S.getLangOpts().CPlusPlus11 &&
857 S.getLangOpts().CPlusPlus ? (I->Output ? "true" : "false")
1232 bool PreferClangAttr = !PP.getLangOpts().CPlusPlus17 && !PP.getLangOpts().C2x;
1244 else if (PP.getLangOpts().CPlusPlus)
2218 if (S.getLangOpts().ObjCWeak &&
2234 if (S.getLangOpts().CPlusPlus && isNoexcept(FD))
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/
H A DLexer.h166 /// getLangOpts - Return the language features currently enabled.
168 const LangOptions &getLangOpts() const { return LangOpts; } function in class:clang::Lexer
H A DPreprocessor.h591 (!PP.getLangOpts().Modules &&
592 !PP.getLangOpts().ModulesLocalVisibility) ||
907 const LangOptions &getLangOpts() const { return LangOpts; } function in class:clang::Preprocessor
1025 (!getLangOpts().Modules || (bool)getMacroDefinition(II));
1752 return Lexer::getImmediateMacroName(Loc, SourceMgr, getLangOpts());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/ASTDiff/
H A DASTDiff.cpp262 : Parent(Parent), AST(AST), TypePP(AST.getLangOpts()) {
368 else if (AST.getLangOpts().CPlusPlus11)
441 AST.getLangOpts());
1000 Range.getEnd(), /*Offset=*/0, SrcMgr, TreeImpl->AST.getLangOpts());
/freebsd-11-stable/contrib/llvm-project/clang/lib/Index/
H A DUSRGeneration.cpp237 PrintingPolicy Policy(Context->getLangOpts());
244 if ((!Ctx.getLangOpts().CPlusPlus || D->isExternC()) &&
623 PrintingPolicy PO(Ctx.getLangOpts());
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DDynamicTypePropagation.cpp910 QualType::print(From, Qualifiers(), OS, C.getLangOpts(), llvm::Twine());
912 QualType::print(To, Qualifiers(), OS, C.getLangOpts(), llvm::Twine());
944 const LangOptions &LangOpts = BRC.getASTContext().getLangOpts();
/freebsd-11-stable/contrib/llvm-project/clang/lib/Analysis/
H A DCFG.cpp1445 Context->getLangOpts().CPlusPlus17);
2131 if (Context->getLangOpts().OpenMP)
2612 if (Context->getLangOpts().Exceptions) {
5164 const LangOptions &getLangOpts() const { return LangOpts; } function in class:__anon299::StmtPrinterHelper
5339 IE->printPretty(OS, &Helper, PrintingPolicy(Helper.getLangOpts()));
5468 S->printPretty(OS, &Helper, PrintingPolicy(Helper.getLangOpts()));
5515 T.getUnqualifiedType().print(OS, PrintingPolicy(Helper.getLangOpts()));
5546 AllocExpr->getType().print(OS, PrintingPolicy(Helper.getLangOpts()));
5582 BT->getType().print(OS, PrintingPolicy(Helper.getLangOpts()));
5626 PrintingPolicy(Helper.getLangOpts()));
[all...]

Completed in 604 milliseconds

12345678910