| /llvm-project/clang-tools-extra/modularize/ |
| H A D | CoverageChecker.cpp | 351 bool CoverageChecker::collectFileSystemHeaders(StringRef IncludePath) { 355 if (IncludePath.size()) in collectFileSystemHeaders() 356 sys::path::append(Directory, IncludePath); in collectFileSystemHeaders() 359 if (IncludePath.starts_with("/") || IncludePath.starts_with("\\") || in collectFileSystemHeaders() 360 ((IncludePath.size() >= 2) && (IncludePath[1] == ':'))) { in collectFileSystemHeaders() 361 llvm::errs() << "error: Include path \"" << IncludePath in collectFileSystemHeaders() 395 << IncludePath << "\"\n"; in collectFileSystemHeaders() 352 collectFileSystemHeaders(StringRef IncludePath) collectFileSystemHeaders() argument
|
| H A D | CoverageChecker.h | 150 bool collectFileSystemHeaders(llvm::StringRef IncludePath);
|
| /llvm-project/clang-tools-extra/unittests/clang-include-fixer/ |
| H A D | IncludeFixerTest.cpp | 154 std::vector<std::string> IncludePath = {"-Idir/"}; in TEST() local 156 runIncludeFixer("a::b::foo bar;\n", IncludePath)); in TEST() 158 IncludePath = {"-isystemdir"}; in TEST() 160 runIncludeFixer("a::b::foo bar;\n", IncludePath)); in TEST() 162 IncludePath = {"-iquotedir"}; in TEST() 164 runIncludeFixer("a::b::foo bar;\n", IncludePath)); in TEST() 166 IncludePath = {"-Idir", "-Idir/otherdir"}; in TEST() 168 runIncludeFixer("a::b::foo bar;\n", IncludePath)); in TEST()
|
| /llvm-project/clang/lib/Lex/ |
| H A D | InitHeaderSearch.cpp | 47 std::vector<DirectoryLookupInfo> IncludePath; 159 IncludePath.emplace_back(Group, DirectoryLookup(*DE, Type, isFramework), in AddUnmappedPath() 170 IncludePath.emplace_back(Group, DirectoryLookup(HM, Type), in AddUnmappedPath() 477 SearchList.reserve(IncludePath.size()); in Realize() 480 for (auto &Include : IncludePath) in Realize() 488 for (auto &Include : IncludePath) in Realize() 495 for (auto &Include : IncludePath) in Realize() 504 for (auto &Include : IncludePath) in Realize() 50 std::vector<DirectoryLookupInfo> IncludePath; global() member in __anone83f23580111::InitHeaderSearch
|
| /llvm-project/llvm/include/llvm/WindowsResource/ |
| H A D | ResourceProcessor.h | 32 void addInclude(const PathType &IncludePath) { in addInclude() argument 33 IncludeList.push_back(IncludePath); in addInclude()
|
| /llvm-project/clang/include/clang/InstallAPI/ |
| H A D | Library.h | 43 StringRef IncludePath = StringRef()) { 44 Headers.emplace_back(FullPath, Type, IncludePath);
|
| /llvm-project/clang-tools-extra/clangd/ |
| H A D | Headers.cpp | 151 auto IncludePath = URI::includeSpelling(*U); in toHeaderFile() local 152 if (!IncludePath) in toHeaderFile() 153 return IncludePath.takeError(); in toHeaderFile() 154 if (!IncludePath->empty()) in toHeaderFile() 155 return HeaderFile{std::move(*IncludePath), /*Verbatim=*/true}; in toHeaderFile()
|
| /llvm-project/clang-tools-extra/clang-tidy/portability/ |
| H A D | RestrictSystemIncludesCheck.h | 63 : Loc(Loc), Range(Range), IncludeFile(Filename), IncludePath(FullPath), in IncludeDirective() 69 std::string IncludePath; // Full file path as a string member
|
| /llvm-project/clang/lib/Driver/ToolChains/ |
| H A D | ROCm.h | 119 SmallString<0> IncludePath; variable 209 StringRef getIncludePath() const { return IncludePath; } in getIncludePath()
|
| H A D | Cuda.h | 35 std::string IncludePath; variable 70 StringRef getIncludePath() const { return IncludePath; } in getIncludePath()
|
| H A D | NetBSD.cpp | 509 for (const auto &IncludePath : Candidates) { in addLibCxxIncludePaths() 510 if (!getVFS().exists(IncludePath + "/__config")) in addLibCxxIncludePaths() 514 addSystemInclude(DriverArgs, CC1Args, IncludePath); in addLibCxxIncludePaths() 508 for (const auto &IncludePath : Candidates) { addLibCxxIncludePaths() local
|
| H A D | Linux.cpp | 731 for (const auto &IncludePath : LibStdCXXIncludePathCandidates) { 732 if (addLibStdCXXIncludePaths(IncludePath, TripleStr, in AddHIPRuntimeLibArgs() 715 for (const auto &IncludePath : LibStdCXXIncludePathCandidates) { addLibStdCxxIncludePaths() local
|
| H A D | AMDGPU.cpp | 472 IncludePath = InstallPath; in detectHIPRuntime() 473 llvm::sys::path::append(IncludePath, "include"); in detectHIPRuntime() 654 std::optional<std::string> IncludePath = getToolChain().getStdlibPath(); in getAMDGPUTargetFeatures() 655 if (!IncludePath) in getAMDGPUTargetFeatures() 656 IncludePath = "/lib"; in getAMDGPUTargetFeatures() 657 SmallString<128> P(*IncludePath); in getAMDGPUTargetFeatures()
|
| H A D | Cuda.cpp | 207 IncludePath = InstallPath + "/include"; in CudaInstallationDetector() 210 if (!(FS.exists(IncludePath) && FS.exists(BinPath))) in CudaInstallationDetector() 654 std::optional<std::string> IncludePath = getToolChain().getStdlibPath(); in ConstructJob() 655 if (!IncludePath) in ConstructJob() 656 IncludePath = "/lib"; in ConstructJob() 657 SmallString<128> P(*IncludePath); in ConstructJob()
|
| /llvm-project/llvm/lib/WindowsDriver/ |
| H A D | MSVCPaths.cpp | 91 llvm::SmallString<128> IncludePath(SDKPath); in getWindows10SDKVersionFromPath() local 92 llvm::sys::path::append(IncludePath, "Include"); in getWindows10SDKVersionFromPath() 93 SDKVersion = getHighestNumericTupleInDirectory(VFS, IncludePath); in getWindows10SDKVersionFromPath()
|
| /llvm-project/llvm/lib/IR/ |
| H A D | LLVMContextImpl.h | 998 MDString *IncludePath; 1004 MDString *ConfigurationMacros, MDString *IncludePath, 1007 ConfigurationMacros(ConfigurationMacros), IncludePath(IncludePath), 1012 IncludePath(N->getRawIncludePath()), 1019 IncludePath == RHS->getRawIncludePath() && 1026 return hash_combine(Scope, Name, ConfigurationMacros, IncludePath);
|
| H A D | DebugInfoMetadata.cpp | 1243 MDString *IncludePath, MDString *APINotesFile, in getImpl() 1248 IncludePath, APINotesFile, LineNo, IsDecl)); in getImpl() 1250 IncludePath, APINotesFile}; in DITemplateTypeParameter() 1239 getImpl(LLVMContext & Context,Metadata * File,Metadata * Scope,MDString * Name,MDString * ConfigurationMacros,MDString * IncludePath,MDString * APINotesFile,unsigned LineNo,bool IsDecl,StorageType Storage,bool ShouldCreate) getImpl() argument
|
| /llvm-project/llvm/lib/Support/ |
| H A D | SourceMgr.cpp | 214 /// style, but without the line offset. If \p IncludePath is true, the path 217 bool IncludePath) const { in getFormattedLocationNoOffset() 222 if (IncludePath) { in getFormattedLocationNoOffset()
|
| /llvm-project/llvm/include/llvm/Support/ |
| H A D | SourceMgr.h | 208 bool IncludePath = false) const;
|
| /llvm-project/llvm/bindings/ocaml/debuginfo/ |
| H A D | debuginfo_ocaml.c | 253 value IncludePath, value SysRoot) { in llvm_dibuild_create_module_native() argument 257 caml_string_length(ConfigMacros), String_val(IncludePath), in llvm_dibuild_create_module_native() 258 caml_string_length(IncludePath), String_val(SysRoot), in llvm_dibuild_create_module_native() 267 argv[4], // IncludePath in llvm_dibuild_create_module_bytecode()
|
| /llvm-project/llvm/include/llvm/IR/ |
| H A D | DebugInfoMetadata.h | 2521 StringRef IncludePath, StringRef APINotesFile, in clone() 2526 getCanonicalMDString(Context, IncludePath), in getIncludePath() 2532 MDString *ConfigurationMacros, MDString *IncludePath, in getRawName() 2545 StringRef ConfigurationMacros, StringRef IncludePath, 2548 (File, Scope, Name, ConfigurationMacros, IncludePath, 2552 MDString *ConfigurationMacros, MDString *IncludePath, in DITemplateParameter() 2555 (File, Scope, Name, ConfigurationMacros, IncludePath,
|
| H A D | DIBuilder.h | 886 /// \param IncludePath The path to the module map file. 897 StringRef ConfigurationMacros, StringRef IncludePath,
|
| /llvm-project/llvm/include/llvm-c/ |
| H A D | DebugInfo.h | 331 * \param IncludePath The path to the module map file. 332 * \param IncludePathLen The length of the C string passed to \c IncludePath. 340 const char *IncludePath, size_t IncludePathLen,
|
| /llvm-project/clang/include/clang/Driver/ |
| H A D | ToolChain.h | 710 virtual std::string detectLibcxxVersion(StringRef IncludePath) const;
|
| /llvm-project/clang/lib/Driver/ |
| H A D | ToolChain.cpp | 1324 std::string ToolChain::detectLibcxxVersion(StringRef IncludePath) const { in isFastMathRuntimeAvailable() 1328 SmallString<128> Path(IncludePath); in isFastMathRuntimeAvailable()
|