Home
last modified time | relevance | path

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

/freebsd-11-stable/contrib/llvm-project/clang/lib/AST/
HDScanfFormatString.cpp413 const LangOptions &LangOpt, in fixType() argument
503 if (isa<TypedefType>(PT) && (LangOpt.C99 || LangOpt.CPlusPlus11)) in fixType()
507 if (hasValidLengthModifier(Ctx.getTargetInfo(), LangOpt)) { in fixType()
HDPrintfFormatString.cpp680 bool PrintfSpecifier::fixType(QualType QT, const LangOptions &LangOpt, in fixType() argument
839 if (isa<TypedefType>(QT) && (LangOpt.C99 || LangOpt.CPlusPlus11)) in fixType()
843 if (hasValidLengthModifier(Ctx.getTargetInfo(), LangOpt)) { in fixType()
HDFormatString.cpp905 const LangOptions &LangOpt) const { in hasStandardConversionSpecifier()
932 return LangOpt.ObjC; in hasStandardConversionSpecifier()
/freebsd-11-stable/contrib/llvm-project/clang/lib/Sema/
HDIdentifierResolver.cpp90 : LangOpt(PP.getLangOpts()), PP(PP), IdDeclInfos(new IdDeclInfoMap) {} in IdentifierResolver()
110 if (LangOpt.CPlusPlus) { in isDeclInScope()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/AST/
HDFormatString.h461 bool hasStandardConversionSpecifier(const LangOptions &LangOpt) const;
604 bool fixType(QualType QT, const LangOptions &LangOpt, ASTContext &Ctx,
675 bool fixType(QualType QT, QualType RawQT, const LangOptions &LangOpt,
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/
HDIdentifierResolver.h180 const LangOptions &LangOpt;
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/
HDASTUnit.cpp521 LangOptions &LangOpt; member in __anon5d9830280211::ASTInfoCollector
530 LangOptions &LangOpt, in ASTInfoCollector() argument
534 LangOpt(LangOpt), TargetOpts(TargetOpts), Target(Target), in ASTInfoCollector()
542 LangOpt = LangOpts; in ReadLanguageOptions()
590 Target->adjust(LangOpt); in updated()
602 Context->setPrintingPolicy(PrintingPolicy(LangOpt)); in updated()
607 LangOpt.CommentOpts); in updated()
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/
HDAttr.td293 class LangOpt<string name, code customCode = [{}]> {
300 def MicrosoftExt : LangOpt<"MicrosoftExt">;
301 def Borland : LangOpt<"Borland">;
302 def CUDA : LangOpt<"CUDA">;
303 def HIP : LangOpt<"HIP">;
304 def SYCL : LangOpt<"SYCLIsDevice">;
305 def COnly : LangOpt<"COnly", "!LangOpts.CPlusPlus">;
306 def CPlusPlus : LangOpt<"CPlusPlus">;
307 def OpenCL : LangOpt<"OpenCL">;
308 def RenderScript : LangOpt<"RenderScript">;
[all …]