Home
last modified time | relevance | path

Searched refs:SourcePrefix (Results 1 – 4 of 4) sorted by relevance

/llvm-project-15.0.7/clang-tools-extra/clangd/
H A DInlayHints.cpp516 StringRef SourcePrefix = MainFileBuf.substr(0, Decomposed.second); in isPrecededByParamNameComment() local
518 SourcePrefix = SourcePrefix.rtrim(); in isPrecededByParamNameComment()
520 if (!SourcePrefix.consume_back("*/")) in isPrecededByParamNameComment()
525 SourcePrefix = SourcePrefix.rtrim(IgnoreChars); in isPrecededByParamNameComment()
528 if (!SourcePrefix.consume_back(ParamName)) in isPrecededByParamNameComment()
530 SourcePrefix = SourcePrefix.rtrim(IgnoreChars); in isPrecededByParamNameComment()
531 return SourcePrefix.endswith("/*"); in isPrecededByParamNameComment()
/llvm-project-15.0.7/llvm/include/llvm/ProfileData/
H A DGCOV.h46 bool M, bool N, bool R, bool T, bool X, std::string SourcePrefix) in Options()
50 HashFilenames(X), SourcePrefix(std::move(SourcePrefix)) {} in Options()
65 std::string SourcePrefix; member
/llvm-project-15.0.7/llvm/tools/llvm-cov/
H A Dgcov.cpp144 cl::opt<std::string> SourcePrefix("s", cl::desc("Source prefix to elide")); in gcovMain() local
145 cl::alias SourcePrefixA("source-prefix", cl::aliasopt(SourcePrefix)); in gcovMain()
174 HashFilenames, SourcePrefix); in gcovMain()
/llvm-project-15.0.7/llvm/lib/ProfileData/
H A DGCOV.cpp837 if (!options.SourcePrefix.empty() && in print()
838 sys::path::replace_path_prefix(si.displayName, options.SourcePrefix, in print()