Commit 45944ceb authored by Samuel Benzaquen's avatar Samuel Benzaquen
Browse files

Change hasName() to take const std::string&, as it was taking before rL219792.

llvm-svn: 219849
parent c8d7920a
Loading
Loading
Loading
Loading
+1 −1
Original line number Diff line number Diff line
@@ -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));
}