Searched refs:LangOpt (Results 1 – 9 of 9) sorted by relevance
| /llvm-project-15.0.7/clang/lib/AST/ |
| H A D | ScanfFormatString.cpp | 413 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()
|
| H A D | PrintfFormatString.cpp | 681 bool PrintfSpecifier::fixType(QualType QT, const LangOptions &LangOpt, in fixType() argument 847 if (isa<TypedefType>(QT) && (LangOpt.C99 || LangOpt.CPlusPlus11)) in fixType() 851 if (hasValidLengthModifier(Ctx.getTargetInfo(), LangOpt)) { in fixType()
|
| H A D | FormatString.cpp | 909 const LangOptions &LangOpt) const { in hasStandardConversionSpecifier() 936 return LangOpt.ObjC; in hasStandardConversionSpecifier()
|
| /llvm-project-15.0.7/clang/lib/Sema/ |
| H A D | IdentifierResolver.cpp | 90 : LangOpt(PP.getLangOpts()), PP(PP), IdDeclInfos(new IdDeclInfoMap) {} in IdentifierResolver() 110 if (LangOpt.CPlusPlus) { in isDeclInScope()
|
| /llvm-project-15.0.7/clang/include/clang/AST/ |
| H A D | FormatString.h | 461 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,
|
| /llvm-project-15.0.7/clang/include/clang/Sema/ |
| H A D | IdentifierResolver.h | 180 const LangOptions &LangOpt;
|
| /llvm-project-15.0.7/clang/lib/Frontend/ |
| H A D | ASTUnit.cpp | 522 LangOptions &LangOpt; member in __anon6243dda10211::ASTInfoCollector 531 LangOptions &LangOpt, in ASTInfoCollector() argument 535 LangOpt(LangOpt), TargetOpts(TargetOpts), Target(Target), in ASTInfoCollector() 543 LangOpt = LangOpts; in ReadLanguageOptions() 591 Target->adjust(PP.getDiagnostics(), LangOpt); in updated() 603 Context->setPrintingPolicy(PrintingPolicy(LangOpt)); in updated() 608 LangOpt.CommentOpts); in updated()
|
| /llvm-project-15.0.7/clang/include/clang/Basic/ |
| H A D | Attr.td | 348 def Borland : LangOpt<"Borland">; 349 def CUDA : LangOpt<"CUDA">; 350 def HIP : LangOpt<"HIP">; 351 def SYCL : LangOpt<"SYCLIsDevice">; 354 def OpenCL : LangOpt<"OpenCL">; 356 def ObjC : LangOpt<"ObjC">; 362 def HLSL : LangOpt<"HLSL">; 365 def Cmse : LangOpt<"Cmse">; 438 list<LangOpt> LangOpts = []; 447 list<LangOpt> LangOpts = []; [all …]
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | SourceCode.cpp | 615 auto LangOpt = format::getFormattingLangOpts(Style); in collectIdentifiers() local 616 lex(Content, LangOpt, [&](const syntax::Token &Tok, const SourceManager &SM) { in collectIdentifiers()
|