Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/clang/lib/AST/
H A DScanfFormatString.cpp415 const LangOptions &LangOpt, in fixType() argument
503 if (LangOpt.C99 || LangOpt.CPlusPlus11) in fixType()
507 if (hasValidLengthModifier(Ctx.getTargetInfo(), LangOpt)) { in fixType()
H A DPrintfFormatString.cpp747 bool PrintfSpecifier::fixType(QualType QT, const LangOptions &LangOpt, in fixType() argument
917 if (LangOpt.C99 || LangOpt.CPlusPlus11) in fixType()
921 if (hasValidLengthModifier(Ctx.getTargetInfo(), LangOpt)) { in fixType()
H A DFormatString.cpp1034 const LangOptions &LangOpt) const { in hasStandardConversionSpecifier()
1063 return LangOpt.ObjC; in hasStandardConversionSpecifier()
1079 return LangOpt.FixedPoint; in hasStandardConversionSpecifier()
/freebsd/contrib/llvm-project/clang/lib/Frontend/
H A DASTUnit.cpp522 LangOptions &LangOpt; member in __anone37b80710211::ASTInfoCollector
532 LangOptions &LangOpt, in ASTInfoCollector() argument
536 LangOpt(LangOpt), TargetOpts(TargetOpts), Target(Target), in ASTInfoCollector()
547 auto PICLevel = LangOpt.PICLevel; in ReadLanguageOptions()
548 auto PIE = LangOpt.PIE; in ReadLanguageOptions()
550 LangOpt = LangOpts; in ReadLanguageOptions()
552 LangOpt.PICLevel = PICLevel; in ReadLanguageOptions()
553 LangOpt.PIE = PIE; in ReadLanguageOptions()
634 Target->adjust(PP.getDiagnostics(), LangOpt); in updated()
646 Context->setPrintingPolicy(PrintingPolicy(LangOpt)); in updated()
[all …]
/freebsd/contrib/llvm-project/clang/include/clang/AST/
H A DFormatString.h485 bool hasStandardConversionSpecifier(const LangOptions &LangOpt) const;
628 bool fixType(QualType QT, const LangOptions &LangOpt, ASTContext &Ctx,
699 bool fixType(QualType QT, QualType RawQT, const LangOptions &LangOpt,
/freebsd/contrib/llvm-project/clang/include/clang/Basic/
H A DAttr.td398 class LangOpt<string name, code customCode = [{}]> {
406 def MicrosoftExt : LangOpt<"MicrosoftExt">;
407 def Borland : LangOpt<"Borland">;
408 def CUDA : LangOpt<"CUDA">;
409 def HIP : LangOpt<"HIP">;
410 def SYCL : LangOpt<"SYCLIsDevice">;
411 def COnly : LangOpt<"", "!LangOpts.CPlusPlus">;
412 def CPlusPlus : LangOpt<"CPlusPlus">;
413 def OpenCL : LangOpt<"OpenCL">;
414 def RenderScript : LangOpt<"RenderScript">;
[all …]