summaryrefslogtreecommitdiffstats
path: root/clang
diff options
context:
space:
mode:
Diffstat (limited to 'clang')
-rw-r--r--clang/include/clang/AST/Type.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/clang/include/clang/AST/Type.h b/clang/include/clang/AST/Type.h
index 5cefb7843fb..2e80f443f9b 100644
--- a/clang/include/clang/AST/Type.h
+++ b/clang/include/clang/AST/Type.h
@@ -160,6 +160,10 @@ public:
void getAsStringInternal(std::string &Str) const;
void dump(const char *s = 0) const;
+
+ void Profile(llvm::FoldingSetNodeID &ID) const {
+ ID.AddPointer(getAsOpaquePtr());
+ }
//private:
/// getCanonicalType - Return the canonical version of this type, with the
OpenPOWER on IntegriCloud