[cfe-commits] r99505 - /cfe/trunk/include/clang/AST/CanonicalType.h
Nuno Lopes
nunoplopes at sapo.pt
Thu Mar 25 06:19:43 PDT 2010
Author: nlopes
Date: Thu Mar 25 08:19:42 2010
New Revision: 99505
URL: http://llvm.org/viewvc/llvm-project?rev=99505&view=rev
Log:
add dump() method to CanQual for debugging purposes
Modified:
cfe/trunk/include/clang/AST/CanonicalType.h
Modified: cfe/trunk/include/clang/AST/CanonicalType.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/CanonicalType.h?rev=99505&r1=99504&r2=99505&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/CanonicalType.h (original)
+++ cfe/trunk/include/clang/AST/CanonicalType.h Thu Mar 25 08:19:42 2010
@@ -165,6 +165,8 @@
// (dynamic) type.
static CanQual<T> CreateUnsafe(QualType Other);
+ void dump() const { Stored.dump(); }
+
void Profile(llvm::FoldingSetNodeID &ID) const {
ID.AddPointer(getAsOpaquePtr());
}
More information about the cfe-commits
mailing list