diff options
author | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-08-01 10:35:27 +0000 |
---|---|---|
committer | Argyrios Kyrtzidis <akyrtzi@gmail.com> | 2008-08-01 10:35:27 +0000 |
commit | 39caa088097dbd2c805041bfd964b3fb9026d0be (patch) | |
tree | e2a88eff035a00ac28738d0bb54d1a041e2a15fc /lib/Parse/ParseDecl.cpp | |
parent | b53c784cf6cef2673c481879b44edb3eede8bc2e (diff) |
Wherever a type is used/returned from the Action module, use TypeTy instead of DeclTy or void.
No functionality change.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54265 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Parse/ParseDecl.cpp')
-rw-r--r-- | lib/Parse/ParseDecl.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Parse/ParseDecl.cpp b/lib/Parse/ParseDecl.cpp index f66bb99962..81cb0ce627 100644 --- a/lib/Parse/ParseDecl.cpp +++ b/lib/Parse/ParseDecl.cpp @@ -411,7 +411,7 @@ void Parser::ParseDeclarationSpecifiers(DeclSpec &DS) { goto DoneWithDeclSpec; // It has to be available as a typedef too! - void *TypeRep = Actions.isTypeName(*Tok.getIdentifierInfo(), CurScope); + TypeTy *TypeRep = Actions.isTypeName(*Tok.getIdentifierInfo(), CurScope); if (TypeRep == 0) goto DoneWithDeclSpec; |