Home
last modified time | relevance | path

Searched refs:LangOpt (Results 1 – 8 of 8) sorted by relevance

/freebsd-14.2/contrib/llvm-project/clang/lib/Sema/
H A DIdentifierResolver.cpp93 : LangOpt(PP.getLangOpts()), PP(PP), IdDeclInfos(new IdDeclInfoMap) {} in IdentifierResolver()
108 if (LangOpt.HLSL && isa<HLSLBufferDecl>(D)) in isDeclInScope()
114 (!LangOpt.CPlusPlus && isa<RecordDecl>(S->getEntity())))) in isDeclInScope()
119 if (LangOpt.CPlusPlus) { in isDeclInScope()
/freebsd-14.2/contrib/llvm-project/clang/lib/AST/
H A DScanfFormatString.cpp415 const LangOptions &LangOpt, in fixType() argument
505 if (LangOpt.C99 || LangOpt.CPlusPlus11) in fixType()
509 if (hasValidLengthModifier(Ctx.getTargetInfo(), LangOpt)) { in fixType()
H A DPrintfFormatString.cpp684 bool PrintfSpecifier::fixType(QualType QT, const LangOptions &LangOpt, in fixType() argument
852 if (LangOpt.C99 || LangOpt.CPlusPlus11) in fixType()
856 if (hasValidLengthModifier(Ctx.getTargetInfo(), LangOpt)) { in fixType()
H A DFormatString.cpp1005 const LangOptions &LangOpt) const { in hasStandardConversionSpecifier()
1034 return LangOpt.ObjC; in hasStandardConversionSpecifier()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/AST/
H A DFormatString.h472 bool hasStandardConversionSpecifier(const LangOptions &LangOpt) const;
615 bool fixType(QualType QT, const LangOptions &LangOpt, ASTContext &Ctx,
686 bool fixType(QualType QT, QualType RawQT, const LangOptions &LangOpt,
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Sema/
H A DIdentifierResolver.h184 const LangOptions &LangOpt;
/freebsd-14.2/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp521 LangOptions &LangOpt; member in __anon670461e70211::ASTInfoCollector
531 LangOptions &LangOpt, in ASTInfoCollector() argument
535 LangOpt(LangOpt), TargetOpts(TargetOpts), Target(Target), in ASTInfoCollector()
543 LangOpt = LangOpts; in ReadLanguageOptions()
623 Target->adjust(PP.getDiagnostics(), LangOpt); in updated()
635 Context->setPrintingPolicy(PrintingPolicy(LangOpt)); in updated()
640 LangOpt.CommentOpts); in updated()
/freebsd-14.2/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td397 def Borland : LangOpt<"Borland">;
398 def CUDA : LangOpt<"CUDA">;
399 def HIP : LangOpt<"HIP">;
400 def SYCL : LangOpt<"SYCLIsDevice">;
403 def OpenCL : LangOpt<"OpenCL">;
405 def ObjC : LangOpt<"ObjC">;
411 def HLSL : LangOpt<"HLSL">;
414 def Cmse : LangOpt<"Cmse">;
501 list<LangOpt> LangOpts = [];
510 list<LangOpt> LangOpts = [];
[all …]