Home
last modified time | relevance | path

Searched refs:IncludePath (Results 1 – 25 of 29) sorted by relevance

12

/llvm-project/clang-tools-extra/modularize/
H A DCoverageChecker.cpp351 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 DCoverageChecker.h150 bool collectFileSystemHeaders(llvm::StringRef IncludePath);
/llvm-project/clang-tools-extra/unittests/clang-include-fixer/
H A DIncludeFixerTest.cpp154 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 DInitHeaderSearch.cpp47 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 DResourceProcessor.h32 void addInclude(const PathType &IncludePath) { in addInclude() argument
33 IncludeList.push_back(IncludePath); in addInclude()
/llvm-project/clang/include/clang/InstallAPI/
H A DLibrary.h43 StringRef IncludePath = StringRef()) {
44 Headers.emplace_back(FullPath, Type, IncludePath);
/llvm-project/clang-tools-extra/clangd/
H A DHeaders.cpp151 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 DRestrictSystemIncludesCheck.h63 : 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 DROCm.h119 SmallString<0> IncludePath; variable
209 StringRef getIncludePath() const { return IncludePath; } in getIncludePath()
H A DCuda.h35 std::string IncludePath; variable
70 StringRef getIncludePath() const { return IncludePath; } in getIncludePath()
H A DNetBSD.cpp509 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 DLinux.cpp731 for (const auto &IncludePath : LibStdCXXIncludePathCandidates) {
732 if (addLibStdCXXIncludePaths(IncludePath, TripleStr, in AddHIPRuntimeLibArgs()
715 for (const auto &IncludePath : LibStdCXXIncludePathCandidates) { addLibStdCxxIncludePaths() local
H A DAMDGPU.cpp472 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 DCuda.cpp207 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 DMSVCPaths.cpp91 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 DLLVMContextImpl.h998 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 DDebugInfoMetadata.cpp1243 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 DSourceMgr.cpp214 /// 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 DSourceMgr.h208 bool IncludePath = false) const;
/llvm-project/llvm/bindings/ocaml/debuginfo/
H A Ddebuginfo_ocaml.c253 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 DDebugInfoMetadata.h2521 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 DDIBuilder.h886 /// \param IncludePath The path to the module map file.
897 StringRef ConfigurationMacros, StringRef IncludePath,
/llvm-project/llvm/include/llvm-c/
H A DDebugInfo.h331 * \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 DToolChain.h710 virtual std::string detectLibcxxVersion(StringRef IncludePath) const;
/llvm-project/clang/lib/Driver/
H A DToolChain.cpp1324 std::string ToolChain::detectLibcxxVersion(StringRef IncludePath) const { in isFastMathRuntimeAvailable()
1328 SmallString<128> Path(IncludePath); in isFastMathRuntimeAvailable()

12