| /llvm-project/clang-tools-extra/clangd/index/remote/marshalling/ |
| H A D | Marshalling.cpp | 261 llvm::SmallString<256> RelativePath = llvm::StringRef(Path); in toProtobuf() 262 if (replace_path_prefix(RelativePath, LocalIndexRoot, "")) in toProtobuf() 264 convert_to_slash(RelativePath, Style::windows)); in toProtobuf() 370 Marshaller::relativePathToURI(llvm::StringRef RelativePath) { in fromProtobuf() 372 assert(RelativePath == convert_to_slash(RelativePath)); in toProtobuf() 373 if (RelativePath.empty()) in toProtobuf() 375 if (is_absolute(RelativePath, Style::posix)) in toProtobuf() 376 return error("RelativePath '{0}' is absolute.", RelativePath); in toProtobuf() 226 llvm::SmallString<256> RelativePath = llvm::StringRef(Path); toProtobuf() local 314 relativePathToURI(llvm::StringRef RelativePath) relativePathToURI() argument 396 auto RelativePath = uriToRelativePath(Location.FileURI); toProtobuf() local 415 auto RelativePath = uriToRelativePath(Header); toProtobuf() local [all...] |
| H A D | Marshalling.h | 75 /// Translates \p RelativePath into the absolute path and builds URI for the 77 /// \p RelativePath received from remote index server and \p IndexRoot is 81 llvm::Expected<std::string> relativePathToURI(llvm::StringRef RelativePath);
|
| /llvm-project/clang-tools-extra/clang-tidy/llvmlibc/ |
| H A D | RestrictSystemLibcHeadersCheck.cpp | 36 StringRef RelativePath, const Module *SuggestedModule, 49 StringRef SearchPath, StringRef RelativePath, const Module *SuggestedModule, in InclusionDirective() argument 56 RelativePath, SuggestedModule, ModuleImported, FileType); in InclusionDirective()
|
| /llvm-project/clang/lib/Lex/ |
| H A D | HeaderSearch.cpp | 473 SmallVectorImpl<char> *SearchPath, SmallVectorImpl<char> *RelativePath, in LookupFile() argument 492 if (RelativePath) { in LookupFile() 493 RelativePath->clear(); in LookupFile() 494 RelativePath->append(Filename.begin(), Filename.end()); in LookupFile() 503 return DoFrameworkLookup(Filename, HS, SearchPath, RelativePath, in LookupFile() 523 if (RelativePath) { in LookupFile() 524 RelativePath->clear(); in LookupFile() 525 RelativePath->append(Filename.begin(), Filename.end()); in LookupFile() 618 SmallVectorImpl<char> *RelativePath, Module *RequestingModule, in DoFrameworkLookup() argument 680 if (RelativePath) { in DoFrameworkLookup() 889 LookupFile(StringRef Filename,SourceLocation IncludeLoc,bool isAngled,ConstSearchDirIterator FromDir,ConstSearchDirIterator * CurDirArg,ArrayRef<std::pair<OptionalFileEntryRef,DirectoryEntryRef>> Includers,SmallVectorImpl<char> * SearchPath,SmallVectorImpl<char> * RelativePath,Module * RequestingModule,ModuleMap::KnownHeader * SuggestedModule,bool * IsMapped,bool * IsFrameworkFound,bool SkipCache,bool BuildSystemModule,bool OpenFile,bool CacheFailures) LookupFile() argument 1211 LookupSubframeworkHeader(StringRef Filename,FileEntryRef ContextFileEnt,SmallVectorImpl<char> * SearchPath,SmallVectorImpl<char> * RelativePath,Module * RequestingModule,ModuleMap::KnownHeader * SuggestedModule) LookupSubframeworkHeader() argument [all...] |
| H A D | PPLexerChange.cpp | 319 SmallString<128> RelativePath; in diagnoseMissingHeaderInUmbrellaDir() 320 computeRelativePath(FileMgr, *Dir, *Header, RelativePath); in diagnoseMissingHeaderInUmbrellaDir() local 322 << Mod.getFullModuleName() << RelativePath; in diagnoseMissingHeaderInUmbrellaDir()
|
| H A D | PPDirectives.cpp | 978 SmallVectorImpl<char> *RelativePath, in LookupFile() 1046 Includers, SearchPath, RelativePath, RequestingModule, in LookupFile() 1064 RelativePath, RequestingModule, SuggestedModule, IsMapped, in LookupFile() 1076 Filename, *CurFileEnt, SearchPath, RelativePath, RequestingModule, 1087 Filename, *CurFileEnt, SearchPath, RelativePath, in LookupEmbedFile() 2123 SmallVectorImpl<char> &RelativePath, SmallVectorImpl<char> &SearchPath, in LookupHeaderIncludeOrImport() 2141 Callbacks ? &SearchPath : nullptr, Callbacks ? &RelativePath : nullptr, in LookupHeaderIncludeOrImport() 2161 Callbacks ? &SearchPath : nullptr, Callbacks ? &RelativePath : nullptr, in LookupHeaderIncludeOrImport() 2193 Callbacks ? &RelativePath : nullptr, &SuggestedModule, &IsMapped, in LookupHeaderIncludeOrImport() 2298 SmallString<1024> RelativePath; in HandleHeaderIncludeOrImport() 956 LookupFile(SourceLocation FilenameLoc,StringRef Filename,bool isAngled,ConstSearchDirIterator FromDir,const FileEntry * FromFile,ConstSearchDirIterator * CurDirArg,SmallVectorImpl<char> * SearchPath,SmallVectorImpl<char> * RelativePath,ModuleMap::KnownHeader * SuggestedModule,bool * IsMapped,bool * IsFrameworkFound,bool SkipCache,bool OpenFile,bool CacheFailures) LookupFile() argument 2099 LookupHeaderIncludeOrImport(ConstSearchDirIterator * CurDir,StringRef & Filename,SourceLocation FilenameLoc,CharSourceRange FilenameRange,const Token & FilenameTok,bool & IsFrameworkFound,bool IsImportDecl,bool & IsMapped,ConstSearchDirIterator LookupFrom,const FileEntry * LookupFromFile,StringRef & LookupFilename,SmallVectorImpl<char> & RelativePath,SmallVectorImpl<char> & SearchPath,ModuleMap::KnownHeader & SuggestedModule,bool isAngled) LookupHeaderIncludeOrImport() argument 2274 SmallString<1024> RelativePath; HandleHeaderIncludeOrImport() local [all...] |
| /llvm-project/clang-tools-extra/clang-tidy/portability/ |
| H A D | RestrictSystemIncludesCheck.cpp | 24 StringRef SearchPath, StringRef RelativePath, const Module *SuggestedModule, in InclusionDirective() argument 29 llvm::sys::path::append(FullPath, RelativePath); in InclusionDirective()
|
| H A D | RestrictSystemIncludesCheck.h | 53 StringRef RelativePath, const Module *SuggestedModule,
|
| /llvm-project/clang-tools-extra/clang-tidy/bugprone/ |
| H A D | SuspiciousIncludeCheck.cpp | 29 StringRef RelativePath, const Module *SuggestedModule, 55 StringRef SearchPath, StringRef RelativePath, const Module *SuggestedModule, in InclusionDirective() argument
|
| /llvm-project/clang/include/clang/Lex/ |
| H A D | DirectoryLookup.h | 157 /// \param RelativePath If not NULL, will be set to the path relative to 180 SmallVectorImpl<char> *RelativePath, Module *RequestingModule, 189 SmallVectorImpl<char> *RelativePath, Module *RequestingModule,
|
| H A D | PPCallbacks.h | 172 StringRef SearchPath, StringRef RelativePath, in InclusionDirective() argument 527 StringRef RelativePath, const Module *SuggestedModule, in InclusionDirective() argument 531 FilenameRange, File, SearchPath, RelativePath, in InclusionDirective() 534 FilenameRange, File, SearchPath, RelativePath, in InclusionDirective()
|
| /llvm-project/clang-tools-extra/clang-tidy/readability/ |
| H A D | DuplicateIncludeCheck.cpp | 50 StringRef RelativePath, const Module *SuggestedModule, 80 StringRef SearchPath, StringRef RelativePath, const Module *SuggestedModule, in InclusionDirective() argument
|
| /llvm-project/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/clang/lib/Frontend/ |
| H A D | DependencyGraph.cpp | 52 StringRef RelativePath, const Module *SuggestedModule, 76 StringRef SearchPath, StringRef RelativePath, const Module *SuggestedModule, in InclusionDirective() argument
|
| H A D | ModuleDependencyCollector.cpp | 58 StringRef RelativePath, const Module *SuggestedModule, in InclusionDirective()
|
| /llvm-project/clang-tools-extra/clang-tidy/modernize/ |
| H A D | DeprecatedHeadersCheck.cpp | 35 StringRef RelativePath, const Module *SuggestedModule, 182 StringRef SearchPath, StringRef RelativePath, const Module *SuggestedModule, in InclusionDirective() argument
|
| /llvm-project/clang-tools-extra/clang-tidy/llvm/ |
| H A D | IncludeOrderCheck.cpp | 30 StringRef RelativePath, const Module *SuggestedModule, 85 StringRef SearchPath, StringRef RelativePath, const Module *SuggestedModule, in InclusionDirective() argument
|
| /llvm-project/clang/unittests/Lex/ |
| H A D | PPCallbacksTest.cpp | 40 StringRef RelativePath, const Module *SuggestedModule, in InclusionDirective() argument 50 this->RelativePath = RelativePath.str(); in InclusionDirective() 63 SmallString<16> RelativePath; member in __anon1476b0c10111::InclusionDirectiveCallbacks
|
| /llvm-project/llvm/lib/TextAPI/ |
| H A D | Utils.cpp | 77 SmallVectorImpl<char> &RelativePath) { in make_relative() argument 105 RelativePath.swap(Result); in make_relative()
|
| /llvm-project/clang/lib/CodeGen/ |
| H A D | MacroPPCallbacks.h | 105 StringRef RelativePath, const Module *SuggestedModule,
|
| /llvm-project/llvm/include/llvm/TextAPI/ |
| H A D | Utils.h | 69 SmallVectorImpl<char> &RelativePath);
|
| /llvm-project/clang-tools-extra/clang-tidy/altera/ |
| H A D | KernelNameRestrictionCheck.cpp | 32 StringRef RelativePath, const Module *SuggestedModule,
|
| /llvm-project/llvm/unittests/Support/ |
| H A D | LockFileManagerTest.cpp | 79 TEST(LockFileManagerTest, RelativePath) { in TEST() argument
|
| /llvm-project/clang/lib/Tooling/ |
| H A D | Tooling.cpp | 256 StringRef RelativePath(File); in getAbsolutePath() local 258 RelativePath.consume_front("./"); in getAbsolutePath() 260 SmallString<1024> AbsolutePath = RelativePath; in getAbsolutePath()
|
| /llvm-project/clang-tools-extra/clang-tidy/ |
| H A D | ExpandModularHeadersPPCallbacks.h | 71 StringRef SearchPath, StringRef RelativePath,
|