[cfe-commits] r39269 - /cfe/cfe/trunk/Driver/clang.cpp

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:42:13 PDT 2007


Author: sabre
Date: Wed Jul 11 11:42:13 2007
New Revision: 39269

URL: http://llvm.org/viewvc/llvm-project?rev=39269&view=rev
Log:
adjust to api change

Modified:
    cfe/cfe/trunk/Driver/clang.cpp

Modified: cfe/cfe/trunk/Driver/clang.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Driver/clang.cpp?rev=39269&r1=39268&r2=39269&view=diff

==============================================================================
--- cfe/cfe/trunk/Driver/clang.cpp (original)
+++ cfe/cfe/trunk/Driver/clang.cpp Wed Jul 11 11:42:13 2007
@@ -848,7 +848,7 @@
 
 static void PrintTypeDefDecl(TypedefDecl *TD) {
   std::string S = TD->getName();
-  TD->getType().getAsString(S);
+  TD->getUnderlyingType().getAsString(S);
   std::cerr << "typedef " << S << ";\n";
 }
 





More information about the cfe-commits mailing list