forked from qt-creator/qt-creator
C++: fix member rewriting when doing template instantiation.
Task-number: QTCREATORBUG-7964 Change-Id: Icc7d87bb4f2d1ab0560a6c06187d9c23da9fe3e9 Reviewed-by: David Schulz <david.schulz@digia.com>
This commit is contained in:
6
src/libs/3rdparty/cplusplus/Name.h
vendored
6
src/libs/3rdparty/cplusplus/Name.h
vendored
@@ -23,6 +23,7 @@
|
||||
|
||||
#include "CPlusPlusForwardDeclarations.h"
|
||||
|
||||
#include <functional>
|
||||
|
||||
namespace CPlusPlus {
|
||||
|
||||
@@ -55,6 +56,11 @@ public:
|
||||
void accept(NameVisitor *visitor) const;
|
||||
static void accept(const Name *name, NameVisitor *visitor);
|
||||
|
||||
public:
|
||||
struct Compare: std::binary_function<const Name *, const Name *, bool> {
|
||||
bool operator()(const Name *name, const Name *other) const;
|
||||
};
|
||||
|
||||
protected:
|
||||
virtual void accept0(NameVisitor *visitor) const = 0;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user