From d9ab76bbce7b8a563aa847cfcdcd39d8280f11bd Mon Sep 17 00:00:00 2001 From: Nuno Lopes Date: Thu, 25 Mar 2010 13:19:42 +0000 Subject: [PATCH] add dump() method to CanQual for debugging purposes git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@99505 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/CanonicalType.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/include/clang/AST/CanonicalType.h b/include/clang/AST/CanonicalType.h index 1f459b08ca..f4cccf3511 100644 --- a/include/clang/AST/CanonicalType.h +++ b/include/clang/AST/CanonicalType.h @@ -165,6 +165,8 @@ public: // (dynamic) type. static CanQual CreateUnsafe(QualType Other); + void dump() const { Stored.dump(); } + void Profile(llvm::FoldingSetNodeID &ID) const { ID.AddPointer(getAsOpaquePtr()); } -- 2.40.0