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

llvm-svn: 219849
This commit is contained in:
Samuel Benzaquen 2014-10-15 21:23:31 +00:00
parent c8d7920ad9
commit 45944ceb69
1 changed files with 1 additions and 1 deletions

View File

@ -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));
}