Home
last modified time | relevance | path

Searched refs:RelativePath (Results 1 – 25 of 47) sorted by relevance

12

/llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/marshalling/
H A DMarshalling.cpp316 assert(RelativePath == convert_to_slash(RelativePath)); in relativePathToURI()
317 if (RelativePath.empty()) in relativePathToURI()
319 if (is_absolute(RelativePath, Style::posix)) in relativePathToURI()
322 append(FullPath, RelativePath); in relativePathToURI()
397 if (!RelativePath) in toProtobuf()
398 return RelativePath.takeError(); in toProtobuf()
399 *Result.mutable_file_path() = *RelativePath; in toProtobuf()
414 auto RelativePath = uriToRelativePath(Header); in toProtobuf() local
415 if (!RelativePath) in toProtobuf()
416 return RelativePath.takeError(); in toProtobuf()
[all …]
H A DMarshalling.h74 llvm::Expected<std::string> relativePathToURI(llvm::StringRef RelativePath);
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvmlibc/
H A DRestrictSystemLibcHeadersCheck.cpp38 StringRef RelativePath, const Module *Imported,
50 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
57 RelativePath, Imported, FileType); in InclusionDirective()
/llvm-project-15.0.7/clang/lib/Lex/
H A DHeaderSearch.cpp449 if (RelativePath) { in LookupFile()
450 RelativePath->clear(); in LookupFile()
479 if (RelativePath) { in LookupFile()
480 RelativePath->clear(); in LookupFile()
631 if (RelativePath) { in DoFrameworkLookup()
632 RelativePath->clear(); in DoFrameworkLookup()
866 if (RelativePath) { in LookupFile()
867 RelativePath->clear(); in LookupFile()
936 if (RelativePath) { in LookupFile()
1200 if (RelativePath) { in LookupSubframeworkHeader()
[all …]
H A DPPDirectives.cpp950 SmallVectorImpl<char> *RelativePath, in LookupFile() argument
1012 Includers, SearchPath, RelativePath, RequestingModule, in LookupFile()
1030 RelativePath, RequestingModule, SuggestedModule, IsMapped, in LookupFile()
1047 Filename, CurFileEnt, SearchPath, RelativePath, RequestingModule, in LookupFile()
1062 Filename, CurFileEnt, SearchPath, RelativePath, in LookupFile()
2007 SmallVectorImpl<char> &RelativePath, SmallVectorImpl<char> &SearchPath, in LookupHeaderIncludeOrImport() argument
2012 Callbacks ? &SearchPath : nullptr, Callbacks ? &RelativePath : nullptr, in LookupHeaderIncludeOrImport()
2027 Callbacks ? &SearchPath : nullptr, Callbacks ? &RelativePath : nullptr, in LookupHeaderIncludeOrImport()
2058 Callbacks ? &RelativePath : nullptr, &SuggestedModule, &IsMapped, in LookupHeaderIncludeOrImport()
2162 SmallString<1024> RelativePath; in HandleHeaderIncludeOrImport() local
[all …]
H A DPPLexerChange.cpp319 SmallString<128> RelativePath; in diagnoseMissingHeaderInUmbrellaDir() local
320 computeRelativePath(FileMgr, Dir, *Header, RelativePath); in diagnoseMissingHeaderInUmbrellaDir()
322 << Mod.getFullModuleName() << RelativePath; in diagnoseMissingHeaderInUmbrellaDir()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/portability/
H A DRestrictSystemIncludesCheck.cpp26 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
31 llvm::sys::path::append(FullPath, RelativePath); in InclusionDirective()
H A DRestrictSystemIncludesCheck.h55 StringRef RelativePath, const Module *Imported,
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/
H A DSuspiciousIncludeCheck.cpp29 StringRef RelativePath, const Module *Imported,
76 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DDirectoryLookup.h186 SmallVectorImpl<char> *RelativePath, Module *RequestingModule,
194 SmallVectorImpl<char> *RelativePath, Module *RequestingModule,
H A DPPCallbacks.h134 StringRef RelativePath, in InclusionDirective() argument
462 StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
465 FilenameRange, File, SearchPath, RelativePath, in InclusionDirective()
468 FilenameRange, File, SearchPath, RelativePath, in InclusionDirective()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/readability/
H A DDuplicateIncludeCheck.cpp52 StringRef RelativePath, const Module *Imported,
81 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
/llvm-project-15.0.7/clang/lib/Frontend/
H A DDependencyGraph.cpp52 StringRef RelativePath, const Module *Imported,
76 StringRef RelativePath, in InclusionDirective() argument
/llvm-project-15.0.7/clang-tools-extra/clangd/unittests/remote/
H A DMarshallingTests.cpp438 auto RelativePath = ProtobufMarshaller.uriToRelativePath( in TEST() local
440 ASSERT_TRUE(bool(RelativePath)); in TEST()
445 RelativePath = WrongMarshaller.uriToRelativePath( in TEST()
447 EXPECT_FALSE(bool(RelativePath)); in TEST()
448 llvm::consumeError(RelativePath.takeError()); in TEST()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/modernize/
H A DDeprecatedHeadersCheck.cpp37 StringRef RelativePath, const Module *Imported,
183 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvm/
H A DIncludeOrderCheck.cpp32 StringRef RelativePath, const Module *Imported,
86 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
/llvm-project-15.0.7/clang/unittests/Lex/
H A DPPCallbacksTest.cpp40 StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
49 this->RelativePath = RelativePath.str(); in InclusionDirective()
61 SmallString<16> RelativePath; member in __anonec3cc9fe0111::InclusionDirectiveCallbacks
/llvm-project-15.0.7/clang/lib/Tooling/
H A DTooling.cpp248 StringRef RelativePath(File); in getAbsolutePath() local
250 if (RelativePath.startswith("./")) { in getAbsolutePath()
251 RelativePath = RelativePath.substr(strlen("./")); in getAbsolutePath()
254 SmallString<1024> AbsolutePath = RelativePath; in getAbsolutePath()
/llvm-project-15.0.7/clang/lib/CodeGen/
H A DMacroPPCallbacks.h105 StringRef RelativePath, const Module *Imported,
H A DMacroPPCallbacks.cpp171 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/
H A DKernelNameRestrictionCheck.cpp34 StringRef RelativePath, const Module *Imported,
/llvm-project-15.0.7/llvm/unittests/Support/
H A DLockFileManagerTest.cpp79 TEST(LockFileManagerTest, RelativePath) { in TEST() argument
/llvm-project-15.0.7/clang-tools-extra/clang-doc/tool/
H A DClangDocMain.cpp168 StringRef RelativePath, in getInfoOutputFile() argument
173 llvm::sys::path::append(Path, RelativePath); in getInfoOutputFile()
/llvm-project-15.0.7/clang-tools-extra/clang-tidy/
H A DExpandModularHeadersPPCallbacks.h73 StringRef SearchPath, StringRef RelativePath,
/llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/
H A DModuleDepCollector.h162 StringRef RelativePath, const Module *Imported,

12