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

1234567891011

/freebsd-13-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGOpenMPRuntime.cpp1121 if (CGM.getLangOpts().Optimize) {
1450 if (!CGF.EHStack.requiresLandingPad() || !CGF.getLangOpts().Exceptions ||
1451 !CGF.getLangOpts().CXXExceptions ||
1637 if (CGM.getLangOpts().OpenMPSimd)
1666 if (!CGM.getLangOpts().OpenMPIsDevice)
1677 assert(!CGM.getLangOpts().OpenMPUseTLS ||
1689 if (CGM.getLangOpts().OpenMPUseTLS &&
1729 if (CGM.getLangOpts().OpenMPUseTLS &&
1739 if (CGM.getLangOpts().CPlusPlus && PerformInit) {
1849 if (CGM.getLangOpts()
[all...]
H A DCGObjCGNU.cpp184 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime;
820 const ObjCRuntime &R = CGM.getLangOpts().ObjCRuntime;
836 } else if (CGM.getLangOpts().CPlusPlus) {
876 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >=
884 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >=
894 assert ((CGM.getLangOpts().getGC() == LangOptions::NonGC));
897 assert (CGM.getLangOpts().ObjCRuntime.getVersion() >=
1012 StringRef StringClass = CGM.getLangOpts().ObjCConstantStringClass;
2250 const LangOptions &Opts = CGM.getLangOpts();
2380 if (CGM.getLangOpts()
[all...]
H A DCGOpenCLRuntime.cpp119 assert(CGM.getLangOpts().OpenCL);
H A DCGDebugInfo.cpp342 if (CGM.getLangOpts().CPlusPlus) {
567 const LangOptions &LO = CGM.getLangOpts();
845 BTName = BT->getName(CGM.getLangOpts());
1103 if (CGM.getLangOpts().OpenCL) {
1717 if (CGM.getLangOpts().Optimize)
1886 if (!CGM.getLangOpts().CUDA || CGM.getLangOpts().CUDAIsDevice ||
2113 VFTLayout.vtable_components().size() - CGM.getLangOpts().RTTIData;
2195 !CGM.getLangOpts().CPlusPlus)
2335 if (shouldOmitDefinition(DebugKind, DebugTypeExtRefs, RD, CGM.getLangOpts()))
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/AST/
H A DExprConstant.cpp927 StepsLeft(C.getLangOpts().ConstexprStepLimit),
928 EnableNewConstInterp(C.getLangOpts().EnableNewConstInterp),
956 if (CallStackDepth <= getLangOpts().ConstexprCallDepth)
959 << getLangOpts().ConstexprCallDepth;
2053 if (Info.getLangOpts().CPlusPlus11) {
2099 if (Info.getLangOpts().CPlusPlus && Usage == Expr::EvaluateForCodeGen &&
2191 if (Info.getLangOpts().CPlusPlus11)
2563 if (Info.getLangOpts().OpenCL)
2582 } else if (LHS.isSigned() && !Info.getLangOpts().CPlusPlus20) {
2596 if (Info.getLangOpts()
[all...]
H A DMicrosoftCXXABI.cpp183 return getASTContext().getLangOpts().getVtorDispMode();
H A DOSLog.cpp207 ParsePrintfString(H, Data.begin(), Data.end(), Ctx.getLangOpts(),
H A DDeclCXX.cpp136 R->setMayHaveOutOfDateDef(C.getLangOpts().Modules);
198 if (!C.getLangOpts().CPlusPlus17) {
671 return getASTContext().getLangOpts().CPlusPlus20;
787 if (getASTContext().getLangOpts().CPlusPlus20
938 Context.getLangOpts().getClangABICompat() >
1037 } else if (!Context.getLangOpts().ObjCAutoRefCount) {
1088 if (!getASTContext().getLangOpts().CPlusPlus14)
1306 !Context.getLangOpts().CPlusPlus20))
2286 if (Context.getLangOpts().CPlusPlus17 ||
2287 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)
3119 if (getLangOpts().DumpRecordLayouts) {
3121 DumpRecordLayout(D, llvm::outs(), getLangOpts().DumpRecordLayoutsSimple);
/freebsd-13-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaTemplate.cpp178 assert(getLangOpts().CPlusPlus && "No template names in C!");
487 getLangOpts().CPlusPlus20 &&
525 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
564 !getLangOpts().CPlusPlus11) {
693 std::string CorrectedStr(Corrected.getAsString(getLangOpts()));
741 getLangOpts().CPlusPlus11 && isUnevaluatedContext();
889 unsigned DiagId = getLangOpts().MSVCCompat ? diag::ext_template_param_shadow
983 if (getLangOpts().CPlusPlus17) {
2423 S.Diag(ParamLoc, S.getLangOpts().CPlusPlus11 ?
4208 (!Context.getLangOpts()
[all...]
H A DSemaOverload.cpp312 assert(Ctx.getLangOpts().CPlusPlus && "narrowing check outside C++");
1241 if (!getLangOpts().CPlusPlus14 && NewMethod->isConstexpr() &&
1275 if (getLangOpts().CUDA && ConsiderCudaAttrs) {
1436 if (!S.getLangOpts().CPlusPlus) {
1510 = getLangOpts().ObjCAutoRefCount &&
1512 if (getLangOpts().ObjC)
1699 if (S.getLangOpts().CPlusPlus &&
1920 } else if (!S.getLangOpts().CPlusPlus &&
1992 if (S.getLangOpts().CPlusPlus || !InOverloadResolution)
2130 if (getLangOpts()
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/Frontend/
H A DASTConsumers.cpp92 PrintingPolicy Policy(D->getASTContext().getLangOpts());
H A DPrintPreprocessedOutput.cpp715 bool DropComments = PP.getLangOpts().TraditionalCPP &&
881 /*RequireTokenExpansion=*/PP.getLangOpts().MicrosoftExt));
885 /*RequireTokenExpansion=*/PP.getLangOpts().MicrosoftExt));
889 /*RequireTokenExpansion=*/PP.getLangOpts().MicrosoftExt));
H A DInitPreprocessor.cpp1138 const LangOptions &LangOpts = PP.getLangOpts();
1147 if (!PP.getLangOpts().AsmPreprocessor)
1181 InitializeStandardPredefinedMacros(PP.getTargetInfo(), PP.getLangOpts(),
1186 if (!PP.getLangOpts().AsmPreprocessor)
1199 if (!PP.getLangOpts().AsmPreprocessor)
/freebsd-13-stable/contrib/llvm-project/clang/lib/Lex/
H A DLiteralSupport.cpp1352 &PP.getDiagnostics(), PP.getLangOpts(), true)) {
1366 CharWidth, &PP.getDiagnostics(), PP.getLangOpts());
1416 PP.getLangOpts().CharIsSigned)
1477 : SM(PP.getSourceManager()), Features(PP.getLangOpts()),
/freebsd-13-stable/contrib/llvm-project/clang/lib/Parse/
H A DParseOpenMP.cpp490 } else if (getLangOpts().CPlusPlus11 && Tok.is(tok::l_brace)) {
1505 getLangOpts().OpenMP >= 50 &&
1511 << ClauseName << (getLangOpts().OpenMP >= 50 ? 1 : 0);
1822 OMPContext OMPCtx(ASTCtx.getLangOpts().OpenMPIsDevice,
2396 if (AllowScopeSpecifier && getLangOpts().CPlusPlus &&
2507 !isAllowedClauseForDirective(DKind, CKind, getLangOpts().OpenMP)) {
2593 if ((getLangOpts().OpenMP < 50 || CKind != OMPC_defaultmap) &&
2788 if (getLangOpts().OpenMP < 51 && Kind == OMPC_default &&
2936 if (Tok.is(tok::colon) || getLangOpts().OpenMP < 50) {
2954 if (isOpenMPTargetExecutionDirective(DKind) && getLangOpts()
[all...]
H A DParseStmtAsm.cpp223 if (getLangOpts().CPlusPlus)
722 if (getLangOpts().AsmBlocks && !isGCCAsmStatement(Tok)) {
732 if (GAQ.isGoto() && getLangOpts().SpeculativeLoadHardening)
742 if (!(getLangOpts().GNUAsm || AsmString.isInvalid())) {
H A DParseObjc.cpp81 if (getLangOpts().Modules || getLangOpts().DebuggerSupport) {
266 else if (!getLangOpts().ObjC) {
1119 return (getLangOpts().ObjC && Tok.is(tok::identifier) &&
1353 if (getLangOpts().ObjC)
1380 if (getLangOpts().ObjC)
1416 if (getLangOpts().ObjC)
1500 if (getLangOpts().ObjC)
1566 assert(getLangOpts().ObjC && "Protocol qualifiers only exist in Objective-C");
2750 getLangOpts()
[all...]
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Checkers/
H A DGTestChecker.cpp297 const LangOptions &LO = mgr.getLangOpts();
H A DSmartPtrModeling.cpp231 const LangOptions &LO = mgr.getLangOpts();
H A DStdLibraryFunctionsChecker.cpp783 ACtx.getLangOpts().C99 ? ACtx.getRestrictType(VoidPtrTy) // void *restrict
789 ACtx.getLangOpts().C99 ? ACtx.getRestrictType(CharPtrTy) // char *restrict
794 ACtx.getLangOpts().C99
801 ACtx.getLangOpts().C99
931 ACtx.getLangOpts().C99 ? ACtx.getRestrictType(*FilePtrTy) : *FilePtrTy;
1437 StructStatPtrRestrictTy = ACtx.getLangOpts().C99
/freebsd-13-stable/contrib/llvm-project/clang/include/clang/AST/
H A DGlobalDecl.h153 return D->getLangOpts().CUDAIsDevice ? KernelReferenceKind::Kernel
/freebsd-13-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp213 Rewriter R(const_cast<SourceManager&>(SMgr), PP.getLangOpts());
586 DeclWithIssue, PP.getLangOpts())
925 Lexer rawLexer(SM.getLocForStartOfFile(LocInfo.first), PP.getLangOpts(),
1035 const LangOptions &LangOpts = R.getLangOpts();
H A DPlistDiagnostics.cpp201 const LangOptions &LangOpts = PP.getLangOpts();
232 const LangOptions &LangOpts = PP.getLangOpts();
258 const LangOptions &LangOpts = PP.getLangOpts();
619 const LangOptions &LangOpts = PP.getLangOpts();
1067 const LangOptions &LangOpts = PP.getLangOpts();
/freebsd-13-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());

Completed in 323 milliseconds

1234567891011