| /llvm-project-15.0.7/clang-tools-extra/clangd/index/remote/marshalling/ |
| H A D | Marshalling.cpp | 316 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 D | Marshalling.h | 74 llvm::Expected<std::string> relativePathToURI(llvm::StringRef RelativePath);
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/llvmlibc/ |
| H A D | RestrictSystemLibcHeadersCheck.cpp | 38 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 D | HeaderSearch.cpp | 449 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 D | PPDirectives.cpp | 950 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 D | PPLexerChange.cpp | 319 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 D | RestrictSystemIncludesCheck.cpp | 26 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument 31 llvm::sys::path::append(FullPath, RelativePath); in InclusionDirective()
|
| H A D | RestrictSystemIncludesCheck.h | 55 StringRef RelativePath, const Module *Imported,
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SuspiciousIncludeCheck.cpp | 29 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 D | DirectoryLookup.h | 186 SmallVectorImpl<char> *RelativePath, Module *RequestingModule, 194 SmallVectorImpl<char> *RelativePath, Module *RequestingModule,
|
| H A D | PPCallbacks.h | 134 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 D | DuplicateIncludeCheck.cpp | 52 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 D | DependencyGraph.cpp | 52 StringRef RelativePath, const Module *Imported, 76 StringRef RelativePath, in InclusionDirective() argument
|
| /llvm-project-15.0.7/clang-tools-extra/clangd/unittests/remote/ |
| H A D | MarshallingTests.cpp | 438 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 D | DeprecatedHeadersCheck.cpp | 37 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 D | IncludeOrderCheck.cpp | 32 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 D | PPCallbacksTest.cpp | 40 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 D | Tooling.cpp | 248 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 D | MacroPPCallbacks.h | 105 StringRef RelativePath, const Module *Imported,
|
| H A D | MacroPPCallbacks.cpp | 171 StringRef SearchPath, StringRef RelativePath, const Module *Imported, in InclusionDirective() argument
|
| /llvm-project-15.0.7/clang-tools-extra/clang-tidy/altera/ |
| H A D | KernelNameRestrictionCheck.cpp | 34 StringRef RelativePath, const Module *Imported,
|
| /llvm-project-15.0.7/llvm/unittests/Support/ |
| H A D | LockFileManagerTest.cpp | 79 TEST(LockFileManagerTest, RelativePath) { in TEST() argument
|
| /llvm-project-15.0.7/clang-tools-extra/clang-doc/tool/ |
| H A D | ClangDocMain.cpp | 168 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 D | ExpandModularHeadersPPCallbacks.h | 73 StringRef SearchPath, StringRef RelativePath,
|
| /llvm-project-15.0.7/clang/include/clang/Tooling/DependencyScanning/ |
| H A D | ModuleDepCollector.h | 162 StringRef RelativePath, const Module *Imported,
|