/freebsd-11-stable/contrib/llvm-project/clang/lib/CodeGen/ |
H A D | CodeGenModule.cpp | 99 : Context(C), LangOpts(C.getLangOpts()), HeaderSearchOpts(HSO), 133 if (LangOpts.ObjC) 135 if (LangOpts.OpenCL) 137 if (LangOpts.OpenMP) 139 if (LangOpts.CUDA) 143 if (LangOpts.Sanitize.has(SanitizerKind::Thread) || 184 switch (LangOpts.ObjCRuntime.getKind()) { 216 if (LangOpts.OpenMPSimd) 226 if (LangOpts.OpenMPIRBuilder) { 552 if (LangOpts 1453 hasUnwindExceptions(const LangOptions &LangOpts) argument [all...] |
H A D | CoverageMappingGen.cpp | 134 const LangOptions &LangOpts; member in class:__anon436::CoverageMappingBuilder 156 const LangOptions &LangOpts) 157 : CVM(CVM), SM(SM), LangOpts(LangOpts) {} 164 Lexer::MeasureTokenLength(SM.getSpellingLoc(Loc), SM, LangOpts); 386 const LangOptions &LangOpts) 387 : CoverageMappingBuilder(CVM, SM, LangOpts) {} 840 const LangOptions &LangOpts) 841 : CoverageMappingBuilder(CVM, SM, LangOpts), CounterMap(CounterMap), 1474 CounterCoverageMappingBuilder Walker(CVM, *CounterMap, SM, LangOpts); 155 CoverageMappingBuilder(CoverageMappingModuleGen &CVM, SourceManager &SM, const LangOptions &LangOpts) argument 385 EmptyCoverageMappingBuilder(CoverageMappingModuleGen &CVM, SourceManager &SM, const LangOptions &LangOpts) argument 837 CounterCoverageMappingBuilder( CoverageMappingModuleGen &CVM, llvm::DenseMap<const Stmt *, unsigned> &CounterMap, SourceManager &SM, const LangOptions &LangOpts) argument [all...] |
H A D | CodeGenAction.cpp | 112 const LangOptions &LangOpts; member in class:clang::BackendConsumer 138 const LangOptions &LangOpts, bool TimePasses, 144 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), 163 const LangOptions &LangOpts, bool TimePasses, 167 CodeGenOpts(CodeGenOpts), TargetOpts(TargetOpts), LangOpts(LangOpts), 336 LangOpts, C.getTargetInfo().getDataLayout(), 133 BackendConsumer(BackendAction Action, DiagnosticsEngine &Diags, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, const TargetOptions &TargetOpts, const LangOptions &LangOpts, bool TimePasses, const std::string &InFile, SmallVector<LinkModule, 4> LinkModules, std::unique_ptr<raw_pwrite_stream> OS, LLVMContext &C, CoverageSourceInfo *CoverageInfo = nullptr) argument 158 BackendConsumer(BackendAction Action, DiagnosticsEngine &Diags, const HeaderSearchOptions &HeaderSearchOpts, const PreprocessorOptions &PPOpts, const CodeGenOptions &CodeGenOpts, const TargetOptions &TargetOpts, const LangOptions &LangOpts, bool TimePasses, SmallVector<LinkModule, 4> LinkModules, LLVMContext &C, CoverageSourceInfo *CoverageInfo = nullptr) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Lex/ |
H A D | PPDirectives.cpp | 366 if ((LangOpts.GNUMode || LangOpts.C99 || LangOpts.CPlusPlus) && 763 if (LangOpts.MSVCCompat && !isAngled) { 802 if (SuggestedModule && !LangOpts.AsmPreprocessor) 818 if (SuggestedModule && !LangOpts.AsmPreprocessor) 833 if (SuggestedModule && !LangOpts.AsmPreprocessor) 1165 if (LangOpts.C99 || LangOpts.CPlusPlus11) 1169 else if (LangOpts 1644 checkModuleIsAvailable(const LangOptions &LangOpts, const TargetInfo &TargetInfo, DiagnosticsEngine &Diags, Module *M) argument [all...] |
H A D | ModuleMap.cpp | 314 const LangOptions &LangOpts, const TargetInfo *Target, 316 : SourceMgr(SourceMgr), Diags(Diags), LangOpts(LangOpts), Target(Target), 498 if (RequestingModule && LangOpts.ModulesDeclUse && 530 if (RequestingModule && LangOpts.ModulesStrictDeclUse) { 534 LangOpts.isCompilingModule()) { 807 if (LangOpts.CurrentModule == Name) 836 assert(LangOpts.CurrentModule == Name && "module name mismatch"); 863 assert(LangOpts.CurrentModule == Name && "module name mismatch"); 1009 if (LangOpts 313 ModuleMap(SourceManager &SourceMgr, DiagnosticsEngine &Diags, const LangOptions &LangOpts, const TargetInfo *Target, HeaderSearch &HeaderInfo) argument 1559 LangOptions LangOpts; local [all...] |
H A D | PPMacroExpansion.cpp | 348 if (LangOpts.CPlusPlus) 360 if (LangOpts.MicrosoftExt) { 374 if (!LangOpts.CPlusPlus) 392 if (!LangOpts.CurrentModule.empty()) 892 if (ArgTokens.size() == ArgTokenStart && !LangOpts.C99) 893 Diag(Tok, LangOpts.CPlusPlus11 ? 1110 const LangOptions &LangOpts = PP.getLangOpts(); 1136 const LangOptions &LangOpts = PP.getLangOpts(); 1633 const LangOptions &LangOpts = getLangOpts(); 1669 .Case("__make_integer_seq", LangOpts [all...] |
H A D | LiteralSupport.cpp | 798 bool NumericLiteralParser::isValidUDSuffix(const LangOptions &LangOpts, argument 800 if (!LangOpts.CPlusPlus11 || Suffix.empty()) 808 if (!LangOpts.CPlusPlus14) 818 .Cases("d", "y", LangOpts.CPlusPlus2a) 1896 bool StringLiteralParser::isValidUDSuffix(const LangOptions &LangOpts, 1898 return NumericLiteralParser::isValidUDSuffix(LangOpts, Suffix) ||
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Tooling/Core/ |
H A D | Replacement.cpp | 60 const LangOptions &LangOpts) { 61 setFromSourceRange(Sources, Range, ReplacementText, LangOpts); 136 const LangOptions &LangOpts) { 143 End.second += Lexer::MeasureTokenLength(SpellingEnd, Sources, LangOpts); 150 const LangOptions &LangOpts) { 152 getRangeSize(Sources, Range, LangOpts), 57 Replacement(const SourceManager &Sources, const CharSourceRange &Range, StringRef ReplacementText, const LangOptions &LangOpts) argument 134 getRangeSize(const SourceManager &Sources, const CharSourceRange &Range, const LangOptions &LangOpts) argument 147 setFromSourceRange(const SourceManager &Sources, const CharSourceRange &Range, StringRef ReplacementText, const LangOptions &LangOpts) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Sema/ |
H A D | SemaInternal.h | 44 inline bool DeclAttrsMatchCUDAMode(const LangOptions &LangOpts, Decl *D) { argument 45 if (!LangOpts.CUDA || !D) 50 return isDeviceSideDecl == LangOpts.CUDAIsDevice;
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Basic/ |
H A D | IdentifierTable.h | 300 bool isKeyword(const LangOptions &LangOpts) const; 304 bool isCPlusPlusKeyword(const LangOptions &LangOpts) const; 509 /// language keywords for the language specified by \p LangOpts. 510 explicit IdentifierTable(const LangOptions &LangOpts, 602 /// for the language specified by \p LangOpts. 603 void AddKeywords(const LangOptions &LangOpts);
|
H A D | LangOptions.h | 368 explicit FPOptions(const LangOptions &LangOpts) argument 369 : fp_contract(LangOpts.getDefaultFPContractMode()),
|
H A D | Module.h | 390 /// \param LangOpts The language options used for the current 404 bool isAvailable(const LangOptions &LangOpts, 528 /// \param LangOpts The set of language options that will be used to 534 const LangOptions &LangOpts,
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Basic/ |
H A D | Attributes.cpp | 10 const LangOptions &LangOpts) { 8 hasAttribute(AttrSyntax Syntax, const IdentifierInfo *Scope, const IdentifierInfo *Attr, const TargetInfo &Target, const LangOptions &LangOpts) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Frontend/ |
H A D | FrontendAction.cpp | 295 const LangOptions &LangOpts, 297 if (IsExternC && LangOpts.CPlusPlus) 299 if (LangOpts.ObjC) 307 if (IsExternC && LangOpts.CPlusPlus) 319 const LangOptions &LangOpts, FileManager &FileMgr, DiagnosticsEngine &Diag, 348 addHeaderInclude(H.NameAsWritten, Includes, LangOpts, Module->IsExternC); 357 addHeaderInclude(UmbrellaHeader.NameAsWritten, Includes, LangOpts, 398 addHeaderInclude(RelativeHeader, Includes, LangOpts, Module->IsExternC); 410 LangOpts, FileMgr, Diag, ModMap, *Sub, Includes)) 293 addHeaderInclude(StringRef HeaderName, SmallVectorImpl<char> &Includes, const LangOptions &LangOpts, bool IsExternC) argument 318 collectModuleHeaderIncludes( const LangOptions &LangOpts, FileManager &FileMgr, DiagnosticsEngine &Diag, ModuleMap &ModMap, clang::Module *Module, SmallVectorImpl<char> &Includes) argument
|
H A D | SerializedDiagnosticPrinter.cpp | 60 SDiagsRenderer(SDiagsWriter &Writer, const LangOptions &LangOpts, argument 62 : DiagnosticNoteRenderer(LangOpts, DiagOpts), Writer(Writer) {} 141 : LangOpts(nullptr), OriginalInstance(false), MergeChildRecords(false), 146 : LangOpts(nullptr), OriginalInstance(true), 160 LangOpts = &LO; 231 const LangOptions *LangOpts; member in class:__anon528::SDiagsWriter 366 SM, *LangOpts); 604 assert(Info.hasSourceManager() && LangOpts && 606 SDiagsRenderer Renderer(*this, *LangOpts, &*State->DiagOpts);
|
H A D | FrontendActions.cpp | 530 bool ReadLanguageOptions(const LangOptions &LangOpts, bool Complain, 534 DUMP_BOOLEAN(LangOpts.Name, Description); 537 << static_cast<unsigned>(LangOpts.get##Name()) << "\n"; 539 Out.indent(4) << Description << ": " << LangOpts.Name << "\n"; 544 if (!LangOpts.ModuleFeatures.empty()) { 546 for (StringRef Feature : LangOpts.ModuleFeatures) 891 const LangOptions &LangOpts = PP.getLangOpts(); local
|
H A D | LogDiagnosticPrinter.cpp | 23 : OS(os), StreamOwner(std::move(StreamOwner)), LangOpts(nullptr),
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Core/ |
H A D | PlistDiagnostics.cpp | 201 const LangOptions &LangOpts = PP.getLangOpts(); local 205 Lexer::getAsCharRange(SM.getExpansionRange(R), SM, LangOpts), 232 const LangOptions &LangOpts = PP.getLangOpts(); local 243 EmitRange(o, SM, Lexer::getAsCharRange(fixit.RemoveRange, SM, LangOpts), 258 const LangOptions &LangOpts = PP.getLangOpts(); local 281 EmitRange(o, SM, Lexer::getAsCharRange(StartEdge, SM, LangOpts), FM, 286 EmitRange(o, SM, Lexer::getAsCharRange(EndEdge, SM, LangOpts), FM, 606 const LangOptions &LangOpts = PP.getLangOpts(); local 693 DeclWithIssue, LangOpts)) 1055 const LangOptions &LangOpts local [all...] |
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Lex/ |
H A D | LiteralSupport.h | 95 static bool isValidUDSuffix(const LangOptions &LangOpts, StringRef Suffix); 273 static bool isValidUDSuffix(const LangOptions &LangOpts, StringRef Suffix);
|
H A D | Preprocessor.h | 135 LangOptions &LangOpts; member in class:clang::Preprocessor 907 const LangOptions &getLangOpts() const { return LangOpts; } 1678 return Lexer::getSpelling(loc, buffer, SourceMgr, LangOpts, invalid); 1690 return Lexer::getSpelling(Tok, SourceMgr, LangOpts, Invalid); 1707 return Lexer::getSpelling(Tok, Buffer, SourceMgr, LangOpts, Invalid); 1722 return Lexer::getRawToken(Loc, Result, SourceMgr, LangOpts, IgnoreWhiteSpace); 1785 return Lexer::getLocForEndOfToken(Loc, Offset, SourceMgr, LangOpts); 1795 return Lexer::isAtStartOfMacroExpansion(loc, SourceMgr, LangOpts, 1806 return Lexer::isAtEndOfMacroExpansion(loc, SourceMgr, LangOpts, MacroEnd); 1819 return Lexer::AdvanceToTokenCharacter(TokStart, Char, SourceMgr, LangOpts); [all...] |
H A D | ModuleMap.h | 78 const LangOptions &LangOpts; member in class:clang::ModuleMap 94 /// named LangOpts::CurrentModule, if we've loaded it). 390 /// \param LangOpts Language options for this translation unit. 394 const LangOptions &LangOpts, const TargetInfo *Target,
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/StaticAnalyzer/Frontend/ |
H A D | CheckerRegistry.h | 85 AnalyzerOptions &AnOpts, const LangOptions &LangOpts, 319 const LangOptions &LangOpts; member in class:clang::ento::CheckerRegistry
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/StaticAnalyzer/Frontend/ |
H A D | CheckerRegistry.cpp | 113 AnalyzerOptions &AnOpts, const LangOptions &LangOpts, 115 : Diags(Diags), AnOpts(AnOpts), LangOpts(LangOpts) { 265 if (!Checker.isEnabled(LangOpts)) 270 collectDependencies(Checker, LangOpts); 111 CheckerRegistry( ArrayRef<std::string> Plugins, DiagnosticsEngine &Diags, AnalyzerOptions &AnOpts, const LangOptions &LangOpts, ArrayRef<std::function<void(CheckerRegistry &)>> CheckerRegistrationFns) argument
|
/freebsd-11-stable/contrib/llvm-project/clang/lib/Rewrite/ |
H A D | Rewriter.cpp | 170 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); 209 Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts); 220 EndOff += Lexer::MeasureTokenLength(Range.getEnd(), *SourceMgr, *LangOpts);
|
/freebsd-11-stable/contrib/llvm-project/clang/include/clang/Frontend/ |
H A D | ASTUnit.h | 109 std::shared_ptr<LangOptions> LangOpts; member in class:clang::ASTUnit 462 assert(LangOpts && "ASTUnit does not have language options"); 463 return *LangOpts; 878 /// FIXME: The Diag, LangOpts, SourceMgr, FileMgr, StoredDiagnostics, and 885 DiagnosticsEngine &Diag, LangOptions &LangOpts,
|