Lines Matching refs:LangOpts
106 : LangOpts(new LangOptions()), TargetOpts(new TargetOptions()),
112 : LangOpts(new LangOptions(*X.getLangOpts())),
3705 LangOptions &LangOpts = *Res.getLangOpts();
3741 ParseCommentArgs(LangOpts.CommentOpts, Args);
3745 LangOpts.IsHeaderFile);
3754 // ObjCAAutoRefCount and Sanitize LangOpts are used to setup the
3758 LangOpts.ObjCAutoRefCount = 1;
3761 LangOpts.PICLevel = getLastArgIntValue(Args, OPT_pic_level, 0, Diags);
3762 LangOpts.PIE = Args.hasArg(OPT_pic_is_pie);
3764 Diags, LangOpts.Sanitize);
3766 // Other LangOpts are only initialized when the input is not AST or LLVM IR.
3768 ParseLangArgs(LangOpts, Args, DashX, Res.getTargetOpts(),
3771 LangOpts.ObjCExceptions = 1;
3783 LangOpts.FunctionAlignment =
3786 if (LangOpts.CUDA) {
3789 if (LangOpts.CUDAIsDevice)
3794 if (LangOpts.OpenMPIsDevice)
3801 !LangOpts.Sanitize.has(SanitizerKind::Address) &&
3802 !LangOpts.Sanitize.has(SanitizerKind::KernelAddress) &&
3803 !LangOpts.Sanitize.has(SanitizerKind::Memory) &&
3804 !LangOpts.Sanitize.has(SanitizerKind::KernelMemory);
3849 code = hash_combine(code, LangOpts->Name);
3851 code = hash_combine(code, static_cast<unsigned>(LangOpts->get##Name()));
3856 for (StringRef Feature : LangOpts->ModuleFeatures)
3859 code = hash_combine(code, LangOpts->ObjCRuntime);
3860 const auto &BCN = LangOpts->CommentOpts.BlockCommandNames;
3934 SanitizerSet SanHash = LangOpts->Sanitize;