[cfe-commits] r151037 - /cfe/trunk/include/clang/AST/Type.h

Argyrios Kyrtzidis akyrtzi at gmail.com
Mon Feb 20 22:12:38 PST 2012


Author: akirtzidis
Date: Tue Feb 21 00:12:38 2012
New Revision: 151037

URL: http://llvm.org/viewvc/llvm-project?rev=151037&view=rev
Log:
Also mark Type's dump() as 'used' to make it available in libclang.

Modified:
    cfe/trunk/include/clang/AST/Type.h

Modified: cfe/trunk/include/clang/AST/Type.h
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/include/clang/AST/Type.h?rev=151037&r1=151036&r2=151037&view=diff
==============================================================================
--- cfe/trunk/include/clang/AST/Type.h (original)
+++ cfe/trunk/include/clang/AST/Type.h Tue Feb 21 00:12:38 2012
@@ -1706,7 +1706,7 @@
     return CanonicalType;
   }
   CanQualType getCanonicalTypeUnqualified() const; // in CanonicalType.h
-  void dump() const;
+  LLVM_ATTRIBUTE_USED void dump() const;
 
   static bool classof(const Type *) { return true; }
 





More information about the cfe-commits mailing list