diff options
author | Chris Lattner <sabre@nondot.org> | 2008-04-07 06:37:47 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2008-04-07 06:37:47 +0000 |
commit | 1ee0700c7dbe3554df09b4558e0b35a53d487ff2 (patch) | |
tree | d9b1ccf051da55235723cbcd130339a9a7caf3fc /include/clang/AST/Type.h | |
parent | 42a997c93b2166facfd3c93ffd5027e4930545dd (diff) |
Fix a really bad bug where type uniquing would merge a<x> with b<x> as the same
type, because it did not include a/b in the hash.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49321 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/Type.h')
-rw-r--r-- | include/clang/AST/Type.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/clang/AST/Type.h b/include/clang/AST/Type.h index bcefaeb1f6..2ee479fd8a 100644 --- a/include/clang/AST/Type.h +++ b/include/clang/AST/Type.h @@ -1109,6 +1109,7 @@ public: void Profile(llvm::FoldingSetNodeID &ID); static void Profile(llvm::FoldingSetNodeID &ID, + const ObjCInterfaceDecl *Decl, ObjCProtocolDecl **protocols, unsigned NumProtocols); static bool classof(const Type *T) { |