|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
Declarations
include/llvm/Support/Regex.h 93 std::string sub(StringRef Repl, StringRef String,
References
lib/Transforms/Utils/SymbolRewriter.cpp 182 std::string Name = Regex(Pattern).sub(Transform, C.getName(), &Error);
tools/clang/tools/driver/driver.cpp 128 std::string Repl = llvm::Regex(MatchPattern).sub(ReplPattern, Args[i]);
tools/clang/tools/extra/clang-tidy/portability/SIMDIntrinsicsCheck.cpp 145 Message = llvm::Regex("\\$std").sub(Std, Message);
147 llvm::Regex("\\$simd").sub((Std.str() + "::simd").str(), Message);
tools/clang/tools/extra/clangd/unittests/TestIndex.cpp 52 USR += llvm::Regex("^.*$").sub(USRFormat, Sym.Name); // e.g. func -> @F@func#
unittests/Support/RegexTest.cpp 88 EXPECT_EQ("aNUMber", Regex("[0-9]+").sub("NUM", "a1234ber"));
91 EXPECT_EQ("a\\ber", Regex("[0-9]+").sub("\\\\", "a1234ber", &Error));
93 EXPECT_EQ("a\nber", Regex("[0-9]+").sub("\\n", "a1234ber", &Error));
95 EXPECT_EQ("a\tber", Regex("[0-9]+").sub("\\t", "a1234ber", &Error));
97 EXPECT_EQ("ajber", Regex("[0-9]+").sub("\\j", "a1234ber", &Error));
100 EXPECT_EQ("aber", Regex("[0-9]+").sub("\\", "a1234ber", &Error));
104 EXPECT_EQ("aa1234bber", Regex("a[0-9]+b").sub("a\\0b", "a1234ber", &Error));
107 EXPECT_EQ("a1234ber", Regex("a([0-9]+)b").sub("a\\1b", "a1234ber", &Error));
110 EXPECT_EQ("aber", Regex("a[0-9]+b").sub("a\\100b", "a1234ber", &Error));