Searched refs:mapHeader (Results 1 – 4 of 4) sorted by relevance
/external/llvm-project/clang-tools-extra/clangd/unittests/ |
D | CanonicalIncludesTests.cpp | 23 EXPECT_EQ("<stdio.h>", CI.mapHeader("path/stdio.h", "printf")); in TEST() 27 CI.mapHeader("include/stdio.h", "unknown_symbol")); in TEST() 37 EXPECT_EQ("<vector>", CI.mapHeader("path/vector.h", "std::vector")); in TEST() 38 EXPECT_EQ("<cstdio>", CI.mapHeader("path/stdio.h", "std::printf")); in TEST() 41 CI.mapHeader("libstdc++/bits/stl_algo.h", "std::move")); in TEST() 43 EXPECT_EQ("foo/bar.h", CI.mapHeader("foo/bar.h", "std::notathing")); in TEST() 45 EXPECT_EQ("<ostream>", CI.mapHeader("iosfwd", "std::ostream")); in TEST() 47 EXPECT_EQ("<iosfwd>", CI.mapHeader("iosfwd", "std::notwathing")); in TEST() 55 EXPECT_EQ("<baz>", CI.mapHeader("foo/bar", "some::symbol")); in TEST() 56 EXPECT_EQ("bar/bar", CI.mapHeader("bar/bar", "some::symbol")); in TEST() [all …]
|
/external/llvm-project/clang-tools-extra/clangd/index/ |
D | CanonicalIncludes.h | 44 llvm::StringRef mapHeader(llvm::StringRef Header,
|
D | CanonicalIncludes.cpp | 32 CanonicalIncludes::mapHeader(llvm::StringRef Header, in mapHeader() function in clang::clangd::CanonicalIncludes
|
D | SymbolCollector.cpp | 751 llvm::StringRef Canonical = Opts.Includes->mapHeader(Filename, QName); in getIncludeHeader()
|