Searched refs:ConfigFile (Results 1 – 10 of 10) sorted by relevance
| /llvm-project-15.0.7/clang/lib/StaticAnalyzer/Checkers/ |
| H A D | Yaml.h | 29 StringRef Option, StringRef ConfigFile) { in getConfiguration() argument 30 if (ConfigFile.trim().empty()) in getConfiguration() 35 FS->getBufferForFile(ConfigFile.str()); in getConfiguration() 40 std::string(ConfigFile) + "'"); in getConfiguration()
|
| H A D | GenericTaintChecker.cpp | 724 StringRef ConfigFile = in initTaintRules() local 727 getConfiguration<TaintConfiguration>(*Mgr, this, Option, ConfigFile); in initTaintRules()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/ |
| H A D | ClangTidyOptions.cpp | 375 SmallString<128> ConfigFile(Directory); in tryReadConfigFile() local 376 llvm::sys::path::append(ConfigFile, ConfigHandler.first); in tryReadConfigFile() 377 LLVM_DEBUG(llvm::dbgs() << "Trying " << ConfigFile << "...\n"); in tryReadConfigFile() 379 llvm::ErrorOr<llvm::vfs::Status> FileStatus = FS->status(ConfigFile); in tryReadConfigFile() 385 FS->getBufferForFile(ConfigFile); in tryReadConfigFile() 387 llvm::errs() << "Can't read " << ConfigFile << ": " << EC.message() in tryReadConfigFile() 397 ConfigHandler.second({(*Text)->getBuffer(), ConfigFile}); in tryReadConfigFile() 400 llvm::errs() << "Error parsing " << ConfigFile << ": " in tryReadConfigFile() 404 return OptionsSource(*ParsedOptions, std::string(ConfigFile)); in tryReadConfigFile()
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/tool/ |
| H A D | ClangTidyMain.cpp | 180 static cl::opt<std::string> ConfigFile("config-file", cl::desc(R"( variable 345 if (ConfigFile.getNumOccurrences() > 0) { in createOptionsProvider() 353 llvm::MemoryBuffer::getFile(ConfigFile); in createOptionsProvider() 355 llvm::errs() << "Error: can't read config-file '" << ConfigFile in createOptionsProvider() 360 return LoadConfig((*Text)->getBuffer(), ConfigFile); in createOptionsProvider()
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/ |
| H A D | ConfigCompile.cpp | 606 llvm::StringRef ConfigFile = "<unknown>"; in compile() local 611 ConfigFile = SM->getBufferInfo(BufID).Buffer->getBufferIdentifier(); in compile() 614 SPAN_ATTACH(Tracer, "ConfigFile", ConfigFile); in compile() 616 vlog("Config fragment: compiling {0}:{1} -> {2} (trusted={3})", ConfigFile, in compile()
|
| /llvm-project-15.0.7/clang/lib/Format/ |
| H A D | Format.cpp | 3514 loadAndParseConfigFile(StringRef ConfigFile, llvm::vfs::FileSystem *FS, in loadAndParseConfigFile() argument 3517 FS->getBufferForFile(ConfigFile.str()); in loadAndParseConfigFile() 3559 auto ConfigFile = StyleName.substr(5); in getStyle() local 3563 return make_string_error("Error reading " + ConfigFile + ": " + in getStyle() 3568 << "Using configuration file " << ConfigFile << "\n"); in getStyle() 3575 FileName = ConfigFile; in getStyle() 3624 SmallString<128> ConfigFile(Directory); in getStyle() local 3626 llvm::sys::path::append(ConfigFile, F); in getStyle() 3627 LLVM_DEBUG(llvm::dbgs() << "Trying " << ConfigFile << "...\n"); in getStyle() 3629 Status = FS->status(ConfigFile.str()); in getStyle() [all …]
|
| /llvm-project-15.0.7/clang/include/clang/Driver/ |
| H A D | Driver.h | 262 std::string ConfigFile; variable 356 const std::string &getConfigFile() const { return ConfigFile; } in getConfigFile()
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | CommandLineTest.cpp | 1086 TempFile ConfigFile(TestCfg, "", in TEST() local 1127 bool Result = llvm::cl::readConfigFile(ConfigFile.path(), Saver, Argv); in TEST()
|
| /llvm-project-15.0.7/clang/lib/Driver/ToolChains/ |
| H A D | Gnu.cpp | 2713 llvm::ErrorOr<std::unique_ptr<llvm::MemoryBuffer>> ConfigFile = in ScanGentooGccConfig() local 2727 if (ConfigFile) { in ScanGentooGccConfig() 2729 ConfigFile.get()->getBuffer().split(ConfigLines, "\n"); in ScanGentooGccConfig()
|
| /llvm-project-15.0.7/clang/lib/Driver/ |
| H A D | Driver.cpp | 941 ConfigFile = std::string(CfgFileName); in readConfigFile() 1834 if (!ConfigFile.empty()) in PrintVersion() 1835 OS << "Configuration file: " << ConfigFile << '\n'; in PrintVersion()
|