diff options
| author | Chris Lattner <sabre@nondot.org> | 2007-01-22 07:41:51 +0000 |
|---|---|---|
| committer | Chris Lattner <sabre@nondot.org> | 2007-01-22 07:41:51 +0000 |
| commit | 371f154c4f935c3a22317d0032eb1878b81ef311 (patch) | |
| tree | afcda7a4fa1034bb5bf95b7fca4ca1dcb48caa0c /clang/Driver/clang.cpp | |
| parent | 8c6519a6e4ed20a9f8cbd32e6454cb0fb556186b (diff) | |
| download | bcm5719-llvm-371f154c4f935c3a22317d0032eb1878b81ef311.tar.gz bcm5719-llvm-371f154c4f935c3a22317d0032eb1878b81ef311.zip | |
adjust to api change
llvm-svn: 39269
Diffstat (limited to 'clang/Driver/clang.cpp')
| -rw-r--r-- | clang/Driver/clang.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/Driver/clang.cpp b/clang/Driver/clang.cpp index d9b19d89ce4..f5e291d8b8a 100644 --- a/clang/Driver/clang.cpp +++ b/clang/Driver/clang.cpp @@ -848,7 +848,7 @@ static void PrintFunctionDecl(FunctionDecl *FD) { static void PrintTypeDefDecl(TypedefDecl *TD) { std::string S = TD->getName(); - TD->getType().getAsString(S); + TD->getUnderlyingType().getAsString(S); std::cerr << "typedef " << S << ";\n"; } |

