Home
last modified time | relevance | path

Searched refs:Path1 (Results 1 – 5 of 5) sorted by relevance

/llvm-project-15.0.7/clang/test/CodeGenCXX/
H A Dmangle.cpp401 struct Path1 : AmbiguousBase { float p; }; argument
403 struct Derived : Path1, Path2 { };
406 template <class T> decltype(((T*) 0)->Path1::ab) get_ab_1(T &ref) { return ref.Path1::ab; } in get_ab_1()
412 template <class T> decltype(((T*) 0)->Path1::p) get_p_1(T &ref) { return ref.Path1::p; } in get_p_1()
/llvm-project-15.0.7/clang/unittests/Tooling/
H A DRefactoringTest.cpp1043 StringRef Path1 = usesWindowsPaths() ? "a\\b\\..\\.\\c.h" : "a/b/.././c.h"; in TEST() local
1045 EXPECT_TRUE(VFS->addFile(Path1, 0, llvm::MemoryBuffer::getMemBuffer(""))); in TEST()
1047 FileToReplaces[std::string(Path1)] = Replacements(); in TEST()
1051 EXPECT_EQ(Path1, FileToReplaces.begin()->first); in TEST()
1059 StringRef Path1 = usesWindowsPaths() ? ".\\a\\b\\c.h" : "./a/b/c.h"; in TEST() local
1061 EXPECT_TRUE(VFS->addFile(Path1, 0, llvm::MemoryBuffer::getMemBuffer(""))); in TEST()
1063 FileToReplaces[std::string(Path1)] = Replacements(); in TEST()
1067 EXPECT_EQ(Path1, FileToReplaces.begin()->first); in TEST()
1075 StringRef Path1 = usesWindowsPaths() ? ".\\a\\b\\c.h" : "./a/b/c.h"; in TEST() local
1077 FileToReplaces[std::string(Path1)] = Replacements(); in TEST()
/llvm-project-15.0.7/llvm/unittests/XRay/
H A DProfileTest.cpp31 auto Path1 = P.internPath({3, 2, 1}); in TEST() local
33 EXPECT_THAT(Path0, Eq(Path1)); in TEST()
/llvm-project-15.0.7/llvm/unittests/Support/
H A DPath.cpp1515 StringRef Path1("././/foolz/wat"); in TEST() local
1518 Path1 = path::remove_leading_dotslash(Path1); in TEST()
1519 EXPECT_EQ(Path1, "foolz/wat"); in TEST()
1568 SmallString<64> Path1(".\\.\\c"); in TEST() local
1569 EXPECT_TRUE(path::remove_dots(Path1, true, path::Style::windows)); in TEST()
1570 EXPECT_EQ("c", Path1); in TEST()
1597 SmallString<64> Path1("/foo"); in TEST() local
1609 SmallString<64> Path = Path1; in TEST()
1621 Path = Path1; in TEST()
1641 Path = Path1; in TEST()
/llvm-project-15.0.7/llvm/tools/llvm-ar/
H A Dllvm-ar.cpp563 static bool comparePaths(StringRef Path1, StringRef Path2) { in comparePaths() argument
570 failIfError(sys::windows::UTF8ToUTF16(normalizePath(Path1), WPath1)); in comparePaths()
576 return normalizePath(Path1) == normalizePath(Path2); in comparePaths()