Searched refs:LangOpts (Results 101 - 125 of 143) sorted by relevance

123456

/freebsd-11-stable/contrib/llvm-project/clang/utils/TableGen/
H A DClangAttrEmitter.cpp1710 std::vector<Record *> Opts = Constraint->getValueAsListOfDefs("LangOpts");
1714 return MetaSubject->getValueAsListOfDefs("LangOpts");
1941 static std::string GenerateTestExpression(ArrayRef<Record *> LangOpts) { argument
1944 for (auto *E : LangOpts) {
1954 Test += "LangOpts.";
1975 << ", bool>> &MatchRules, const LangOptions &LangOpts) {\n";
1989 std::vector<Record *> LangOpts = Rule.getLangOpts(); local
1991 << ", /*IsSupported=*/" << GenerateTestExpression(LangOpts)
2994 // If this is the C++11 variety, also add in the LangOpts test.
2996 Test += " && LangOpts
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Serialization/
H A DASTReader.cpp164 ChainedASTReaderListener::ReadLanguageOptions(const LangOptions &LangOpts, argument
167 return First->ReadLanguageOptions(LangOpts, Complain,
169 Second->ReadLanguageOptions(LangOpts, Complain,
270 static bool checkLanguageOptions(const LangOptions &LangOpts, argument
275 if (ExistingLangOpts.Name != LangOpts.Name) { \
278 << Description << LangOpts.Name << ExistingLangOpts.Name; \
283 if (ExistingLangOpts.Name != LangOpts.Name) { \
291 if (ExistingLangOpts.get##Name() != LangOpts.get##Name()) { \
315 if (ExistingLangOpts.ModuleFeatures != LangOpts.ModuleFeatures) {
321 if (ExistingLangOpts.ObjCRuntime != LangOpts
433 ReadLanguageOptions(const LangOptions &LangOpts, bool Complain, bool AllowCompatibleDifferences) argument
626 checkPreprocessorOptions(const PreprocessorOptions &PPOpts, const PreprocessorOptions &ExistingPPOpts, DiagnosticsEngine *Diags, FileManager &FileMgr, std::string &SuggestedPredefines, const LangOptions &LangOpts, bool Validate = true) argument
777 checkHeaderSearchOptions(const HeaderSearchOptions &HSOpts, StringRef SpecificModuleCachePath, StringRef ExistingModuleCachePath, DiagnosticsEngine *Diags, const LangOptions &LangOpts) argument
5375 isAcceptableASTFile(StringRef Filename, FileManager &FileMgr, const PCHContainerReader &PCHContainerRdr, const LangOptions &LangOpts, const TargetOptions &TargetOpts, const PreprocessorOptions &PPOpts, StringRef ExistingModuleCachePath) argument
5692 LangOptions LangOpts; local
[all...]
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
H A DSemaAttr.cpp381 PackStack.CurrentPragmaLocation, tok::l_paren, SourceMgr, LangOpts,
661 Attribute.getMatchRules(LangOpts, StrictSubjectMatchRuleSet);
H A DSemaDecl.cpp3037 const LangOptions& LangOpts) {
3038 return ((FD->hasAttr<GNUInlineAttr>() || LangOpts.GNUInline) &&
3039 !LangOpts.CPlusPlus &&
5476 Diag(Loc, LangOpts.MicrosoftExt ? diag::warn_member_extra_qualification
8651 static Scope *getTagInjectionScope(Scope *S, const LangOptions &LangOpts) { argument
8653 (LangOpts.CPlusPlus &&
10708 if (!Redeclaration && LangOpts.CUDA)
12923 << LangOpts.CPlusPlus << MagicValueExpr->getSourceRange();
12929 << LangOpts.CPlusPlus << MagicValueExpr->getSourceRange();
13269 if (LangOpts
3036 canRedefineFunction(const FunctionDecl *FD, const LangOptions& LangOpts) argument
[all...]
H A DCodeCompleteConsumer.cpp582 EInfo.second += Lexer::MeasureTokenLength(ELoc, SM, SemaRef.LangOpts);
H A DSemaCUDA.cpp495 if (LangOpts.GPUAllowDeviceInit)
H A DSemaExpr.cpp324 if (LangOpts.OpenMP && DRD && !CurContext->containsDecl(D) &&
337 if (LangOpts.OpenMP && DMD && !CurContext->containsDecl(D) &&
3876 if (S.LangOpts.CPlusPlus)
3892 unsigned DiagID = S.LangOpts.OpenCL ? diag::err_opencl_sizeof_alignof_type
3907 if (!S.LangOpts.ObjCRuntime.allowsSizeofAlignof() && T->isObjCObjectType()) {
4432 if (S.LangOpts.ObjCRuntime.allowsPointerArithmetic() &&
4433 !S.LangOpts.ObjCSubscriptingLegacyRuntime)
4785 if (!LangOpts.isSubscriptPointerArithmetic())
4801 if (!LangOpts.isSubscriptPointerArithmetic()) {
4890 assert(VK == VK_RValue || LangOpts
[all...]
H A DSemaDeclAttr.cpp1890 if (!S.LangOpts.CPlusPlus) {
1982 if (S.LangOpts.CPlusPlus) {
4345 if (S.LangOpts.CPlusPlus && Fn->getStorageClass() != SC_Extern)
4599 if (LangOpts.CUDA) {
4618 auto *HostTI = LangOpts.CUDAIsDevice ? Aux : &TI;
4619 auto *DeviceTI = LangOpts.CUDAIsDevice ? &TI : Aux;
5425 if (!S.LangOpts.CPlusPlus) {
5474 if (!S.LangOpts.CPlusPlus) {
6365 if (S.LangOpts.OpenCLVersion != 200)
8007 const LangOptions &LangOpts) {
8006 tryParseObjCMethodName(StringRef Name, SmallVectorImpl<StringRef> &SlotNames, const LangOptions &LangOpts) argument
8039 createAttributeInsertion(const NamedDecl *D, const SourceManager &SM, const LangOptions &LangOpts) argument
[all...]
H A DSemaDeclObjC.cpp2136 if (LangOpts.ObjCRuntime.isNonFragile()) {
2983 bool SynthesizeProperties = LangOpts.ObjCDefaultSynthProperties &&
2984 LangOpts.ObjCRuntime.isNonFragile() &&
4096 if (LangOpts.ObjCRuntime.isNonFragile()) {
4907 LangOpts.ObjCInferRelatedResultType) {
4990 if (LangOpts.ObjCRuntime.isNonFragile()) {
H A DSemaObjCProperty.cpp1995 if (!LangOpts.ObjCDefaultSynthProperties || LangOpts.ObjCRuntime.isFragile())
2034 if (S.LangOpts.ObjCDefaultSynthProperties &&
2035 S.LangOpts.ObjCRuntime.isNonFragile())
H A DSemaConcept.cpp286 bool ShouldCache = LangOpts.ConceptSatisfactionCaching && Template;
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/
H A DHTMLDiagnostics.cpp1008 const LangOptions &LangOpts = R.getLangOpts(); local
1029 EndColNo += Lexer::MeasureTokenLength(Range.getEnd(), SM, LangOpts)-1;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
H A DPrecompiledPreamble.cpp229 PreambleBounds clang::ComputePreambleBounds(const LangOptions &LangOpts, argument
232 return Lexer::ComputePreamble(Buffer->getBuffer(), LangOpts, MaxLines);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Syntax/
H A DBuildTree.cpp323 : Builder(Builder), LangOpts(Ctx.getLangOpts()) {}
604 const LangOptions &LangOpts; member in class:__anon933::BuildTreeVisitor
/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/
H A DCGDecl.cpp2522 if (!LangOpts.OpenMP || (!LangOpts.EmitAllDecls && !D->isUsed()))
2529 if (!LangOpts.OpenMP || LangOpts.OpenMPSimd ||
2530 (!LangOpts.EmitAllDecls && !D->isUsed()))
H A DCGException.cpp319 if (!LangOpts.CPlusPlus || !LangOpts.ObjC || !LangOpts.Exceptions)
324 if (!LangOpts.ObjCRuntime.isNeXTFamily())
328 const EHPersonality &CXX = getCXXPersonality(getTarget(), LangOpts);
H A DCodeGenModule.h300 const LangOptions &LangOpts; member in class:clang::CodeGen::CodeGenModule
675 const LangOptions &getLangOpts() const { return LangOpts; }
H A DCodeGenFunction.cpp49 const LangOptions &LangOpts) {
55 LangOpts.Sanitize.has(SanitizerKind::HWAddress) ||
56 LangOpts.Sanitize.has(SanitizerKind::Memory))
48 shouldEmitLifetimeMarkers(const CodeGenOptions &CGOpts, const LangOptions &LangOpts) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
H A DCodeCompleteConsumer.h173 /// \param LangOpts Options describing the current language dialect.
178 const LangOptions &LangOpts,
H A DParsedAttr.h503 void getMatchRules(const LangOptions &LangOpts,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
H A DASTContext.h534 LangOptions &LangOpts; member in class:clang::ASTContext
724 const LangOptions& getLangOpts() const { return LangOpts; }
799 assert(LangOpts.RetainCommentsFromSystemHeaders ||
801 Comments.addComment(RC, LangOpts.CommentOpts, BumpAlloc);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Edit/
H A DRewriteObjCFoundationAPI.cpp27 const LangOptions &LangOpts) {
41 if (LangOpts.ObjCAutoRefCount) {
25 checkForLiteralCreation(const ObjCMessageExpr *Msg, IdentifierInfo *&ClassId, const LangOptions &LangOpts) argument
/freebsd-11-stable/contrib/llvm-project/clang/lib/ARCMigrate/
H A DObjCMT.cpp2180 LangOptions LangOpts; local
2181 edit::EditedSource Editor(SM, LangOpts);
2205 Rewriter rewriter(SM, LangOpts);
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/
H A DHeaderSearch.cpp83 const LangOptions &LangOpts,
87 ModMap(SourceMgr, Diags, LangOpts, Target, *this) {}
81 HeaderSearch(std::shared_ptr<HeaderSearchOptions> HSOpts, SourceManager &SourceMgr, DiagnosticsEngine &Diags, const LangOptions &LangOpts, const TargetInfo *Target) argument
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
H A DDiagnostic.h1520 /// \param LangOpts The language options for the source file being processed.
1523 virtual void BeginSourceFile(const LangOptions &LangOpts,

Completed in 636 milliseconds

123456