fix a nasty bug in CheckTypeMatcher::isEqualImpl
llvm-svn: 97216
This commit is contained in:
parent
be5b634cea
commit
a6142a241a
|
@ -409,7 +409,7 @@ public:
|
|||
private:
|
||||
virtual void printImpl(raw_ostream &OS, unsigned indent) const;
|
||||
virtual bool isEqualImpl(const Matcher *M) const {
|
||||
return cast<CheckTypeMatcher>(this)->Type == Type;
|
||||
return cast<CheckTypeMatcher>(M)->Type == Type;
|
||||
}
|
||||
virtual unsigned getHashImpl() const { return Type; }
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue