summaryrefslogtreecommitdiff
path: root/compilerplugins
diff options
context:
space:
mode:
authorStephan Bergmann <sbergman@redhat.com>2016-06-14 08:42:42 +0200
committerStephan Bergmann <sbergman@redhat.com>2016-06-14 08:43:03 +0200
commita94a0b148ceef61004564599c381048658ddc151 (patch)
tree235995981c55f220f309473a6fff89365afaae47 /compilerplugins
parent5338ee66e8b5b368f1536121bda621076d83a72b (diff)
Could swear I'd seen this produce a bogus compiler error
...but now it apparently works Change-Id: Iac1b4e49788ac620ed55dec7a52c839ba2937f5b
Diffstat (limited to 'compilerplugins')
-rw-r--r--compilerplugins/clang/passstuffbyref.cxx4
1 files changed, 2 insertions, 2 deletions
diff --git a/compilerplugins/clang/passstuffbyref.cxx b/compilerplugins/clang/passstuffbyref.cxx
index d24515279c16..8c9814e66003 100644
--- a/compilerplugins/clang/passstuffbyref.cxx
+++ b/compilerplugins/clang/passstuffbyref.cxx
@@ -58,7 +58,7 @@ public:
private:
template<typename T> bool traverseAnyFunctionDecl(
- T * decl, bool (RecursiveASTVisitor<PassStuffByRef>::* fn)(T *));
+ T * decl, bool (RecursiveASTVisitor::* fn)(T *));
void checkParams(const FunctionDecl * functionDecl);
void checkReturnValue(const FunctionDecl * functionDecl, const CXXMethodDecl * methodDecl);
bool isFat(QualType type);
@@ -103,7 +103,7 @@ bool PassStuffByRef::TraverseCXXConversionDecl(CXXConversionDecl * decl) {
}
template<typename T> bool PassStuffByRef::traverseAnyFunctionDecl(
- T * decl, bool (RecursiveASTVisitor<PassStuffByRef>::* fn)(T *))
+ T * decl, bool (RecursiveASTVisitor::* fn)(T *))
{
if (ignoreLocation(decl)) {
return true;