diff options
author | Stephan Bergmann <sbergman@redhat.com> | 2016-06-14 08:42:42 +0200 |
---|---|---|
committer | Stephan Bergmann <sbergman@redhat.com> | 2016-06-14 08:43:03 +0200 |
commit | a94a0b148ceef61004564599c381048658ddc151 (patch) | |
tree | 235995981c55f220f309473a6fff89365afaae47 /compilerplugins/clang | |
parent | 5338ee66e8b5b368f1536121bda621076d83a72b (diff) |
Could swear I'd seen this produce a bogus compiler error
...but now it apparently works
Change-Id: Iac1b4e49788ac620ed55dec7a52c839ba2937f5b
Diffstat (limited to 'compilerplugins/clang')
-rw-r--r-- | compilerplugins/clang/passstuffbyref.cxx | 4 |
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; |