Home
last modified time | relevance | path

Searched refs:DestPath (Results 1 – 3 of 3) sorted by relevance

/llvm-project-15.0.7/clang/lib/Lex/
H A DHeaderMap.cpp198 SmallVectorImpl<char> &DestPath) const { in lookupFilename()
222 DestPath.clear(); in lookupFilename()
224 DestPath.append(Prefix->begin(), Prefix->end()); in lookupFilename()
225 DestPath.append(Suffix->begin(), Suffix->end()); in lookupFilename()
227 return StringRef(DestPath.begin(), DestPath.size()); in lookupFilename()
231 StringRef HeaderMapImpl::reverseLookupFilename(StringRef DestPath) const { in reverseLookupFilename()
233 return ReverseMap.lookup(DestPath); in reverseLookupFilename()
253 if (DestPath == Value) in reverseLookupFilename()
/llvm-project-15.0.7/clang/unittests/Lex/
H A DHeaderMapTest.cpp106 SmallString<8> DestPath; in TEST() local
107 ASSERT_EQ("bc", Map.lookupFilename("a", DestPath)); in TEST()
147 SmallString<24> DestPath; in TEST() local
148 ASSERT_EQ("", Map.lookupFilename("a", DestPath)); in TEST()
183 SmallString<24> DestPath; in TEST() local
184 ASSERT_EQ("", Map.lookupFilename("a", DestPath)); in TEST()
/llvm-project-15.0.7/clang/include/clang/Lex/
H A DHeaderMap.h45 SmallVectorImpl<char> &DestPath) const;
54 StringRef reverseLookupFilename(StringRef DestPath) const;