Change hasName() to take const std::string&, as it was taking before rL219792.
llvm-svn: 219849
This commit is contained in:
parent
c8d7920ad9
commit
45944ceb69
|
@ -1591,7 +1591,7 @@ inline internal::Matcher<Stmt> sizeOfExpr(
|
|||
/// \code
|
||||
/// namespace a { namespace b { class X; } }
|
||||
/// \endcode
|
||||
inline internal::Matcher<NamedDecl> hasName(StringRef Name) {
|
||||
inline internal::Matcher<NamedDecl> hasName(const std::string &Name) {
|
||||
return internal::Matcher<NamedDecl>(new internal::HasNameMatcher(Name));
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue