Home
last modified time | relevance | path

Searched refs:convert_to_slash (Results 1 – 25 of 26) sorted by relevance

12

/external/llvm-project/clang/unittests/Tooling/
DDependencyScannerTest.cpp104 using llvm::sys::path::convert_to_slash; in TEST()
107 EXPECT_EQ(convert_to_slash(Deps[0]), "/root/test.cpp"); in TEST()
108 EXPECT_EQ(convert_to_slash(Deps[1]), "/root/symlink.h"); in TEST()
109 EXPECT_EQ(convert_to_slash(Deps[2]), "/root/header.h"); in TEST()
120 EXPECT_EQ(convert_to_slash(Deps[0]), "/root/test.cpp"); in TEST()
121 EXPECT_EQ(convert_to_slash(Deps[1]), "/root/symlink.h"); in TEST()
122 EXPECT_EQ(convert_to_slash(Deps[2]), "/root/header.h"); in TEST()
159 using llvm::sys::path::convert_to_slash; in TEST()
161 EXPECT_EQ(convert_to_slash(Deps[0]), "/root/test.cpp"); in TEST()
162 EXPECT_EQ(convert_to_slash(Deps[1]), "/root/header.h"); in TEST()
[all …]
/external/llvm-project/clang-tools-extra/clangd/unittests/
DConfigCompileTests.cpp130 auto BarPath = llvm::sys::path::convert_to_slash(testPath("foo/bar.h")); in TEST_F()
141 llvm::sys::path::convert_to_slash(testPath("foo/bar.h")), in TEST_F()
147 llvm::sys::path::convert_to_slash(testPath("bar/bar.h")), in TEST_F()
258 BarPath = llvm::sys::path::convert_to_slash(BarPath); in TEST_F()
272 FooPath = llvm::sys::path::convert_to_slash(FooPath); in TEST_F()
296 BazPath = llvm::sys::path::convert_to_slash(BazPath); in TEST_F()
305 BazPath = llvm::sys::path::convert_to_slash(BazPath); in TEST_F()
DTestFS.cpp118 llvm::sys::path::convert_to_slash(Body)); in uriFromAbsolutePath()
DHeadersTests.cpp252 llvm::sys::path::convert_to_slash(testPath("sub-2/bar.h")); in TEST_F()
DGlobalCompilationDatabaseTests.cpp195 llvm::sys::path::convert_to_slash(Root)); in write()
/external/llvm-project/clang-tools-extra/clangd/index/remote/marshalling/
DMarshalling.cpp36 using llvm::sys::path::convert_to_slash;
63 this->RemoteIndexRoot = convert_to_slash(RemoteIndexRoot, Style::windows); in Marshaller()
70 this->LocalIndexRoot = convert_to_slash(LocalIndexRoot, Style::windows); in Marshaller()
228 convert_to_slash(RelativePath, Style::windows)); in toProtobuf()
315 assert(RelativePath == convert_to_slash(RelativePath)); in relativePathToURI()
341 assert(Result == convert_to_slash(Result, Style::windows)); in uriToRelativePath()
/external/llvm-project/clang-tools-extra/clangd/unittests/remote/
DMarshallingTests.cpp37 using llvm::sys::path::convert_to_slash;
162 EXPECT_EQ(convert_to_slash(Serialized->definition().file_path(), in TEST()
176 convert_to_slash("/path/to/Declaration.h"); in TEST()
290 InvalidHeader.set_header(convert_to_slash("/absolute/path/Header.h")); in TEST()
/external/llvm-project/lldb/source/Plugins/ExpressionParser/Clang/
DCppModuleConfiguration.cpp36 std::string dir_buffer = convert_to_slash(f.GetDirectory().GetStringRef()); in analyzeFile()
/external/llvm-project/lld/Common/
DReproduce.cpp41 return path::convert_to_slash(res); in relativeToRoot()
/external/llvm-project/llvm/tools/llvm-ar/
Dllvm-ar.cpp505 outs() << sys::path::convert_to_slash(ParentDir) << '/'; in doDisplayTable()
517 return CompareFullPath ? sys::path::convert_to_slash(Path) in normalizePath()
663 NMOrErr->MemberName = Saver.save(sys::path::convert_to_slash(*FileNameOrErr)); in addChildMember()
670 PathOrErr ? *PathOrErr : sys::path::convert_to_slash(*FileNameOrErr)); in addChildMember()
704 NMOrErr->MemberName = Saver.save(sys::path::convert_to_slash(FileName)); in addMember()
709 PathOrErr ? *PathOrErr : sys::path::convert_to_slash(FileName)); in addMember()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Support/
DTarWriter.cpp175 std::string Fullpath = BaseDir + "/" + sys::path::convert_to_slash(Path); in append()
DPath.cpp579 std::string convert_to_slash(StringRef path, Style style) { in convert_to_slash() function
/external/llvm-project/llvm/lib/Support/
DTarWriter.cpp186 std::string Fullpath = BaseDir + "/" + sys::path::convert_to_slash(Path); in append()
DPath.cpp566 std::string convert_to_slash(StringRef path, Style style) { in convert_to_slash() function
/external/llvm-project/llvm/include/llvm/Support/
DPath.h235 std::string convert_to_slash(StringRef path, Style style = Style::native);
/external/swiftshader/third_party/llvm-10.0/llvm/include/llvm/Support/
DPath.h241 std::string convert_to_slash(StringRef path, Style style = Style::native);
/external/llvm-project/clang-tools-extra/clangd/
DPathMapping.cpp155 std::string Converted = path::convert_to_slash(Path, path::Style::windows); in parsePath()
DURI.cpp73 Body += llvm::sys::path::convert_to_slash(AbsolutePath); in uriFromAbsolutePath()
DHeaders.cpp245 Suggested = llvm::sys::path::convert_to_slash( in calculateIncludePath()
DConfigCompile.cpp182 FragmentDirectory = llvm::sys::path::convert_to_slash(F.Source.Directory); in compile()
/external/swiftshader/third_party/llvm-10.0/llvm/lib/Object/
DArchiveWriter.cpp531 return sys::path::convert_to_slash(PathTo); in computeArchiveRelativePath()
/external/llvm-project/clang-tools-extra/clangd/tool/
DClangdMain.cpp546 llvm::sys::path::convert_to_slash(Body)); in uriFromAbsolutePath()
/external/llvm-project/llvm/lib/Object/
DArchiveWriter.cpp552 return sys::path::convert_to_slash(PathTo); in computeArchiveRelativePath()
/external/llvm-project/llvm/tools/sancov/
Dsancov.cpp472 return stripPathPrefix(sys::path::convert_to_slash(std::string(S))); in normalizeFilename()
/external/llvm-project/clang/lib/Lex/
DHeaderSearch.cpp1852 return path::convert_to_slash(File.drop_front(BestPrefixLength)); in suggestPathToFileForDiagnostics()

12