add note about eliminating DeclSpec.

Add TypeRef::dump method.

llvm-svn: 39169
This commit is contained in:
Chris Lattner 2006-11-11 23:56:01 +00:00
parent 96bff30868
commit 5983de06cd
2 changed files with 5 additions and 2 deletions

View File

@ -15,7 +15,7 @@
#define LLVM_CLANG_AST_DECL_H #define LLVM_CLANG_AST_DECL_H
#include "clang/Basic/SourceLocation.h" #include "clang/Basic/SourceLocation.h"
#include "clang/Parse/DeclSpec.h" #include "clang/Parse/DeclSpec.h" // FIXME: Eliminate.
namespace llvm { namespace llvm {
namespace clang { namespace clang {
@ -32,7 +32,8 @@ class Decl {
IdentifierInfo *Identifier; IdentifierInfo *Identifier;
/// DeclarationSpecifier - Information about storage class, type specifiers, /// DeclarationSpecifier - Information about storage class, type specifiers,
/// etc. /// etc. FIXME: This should be eliminated once we have fully converted types
/// over.
DeclSpec DeclarationSpecifier; DeclSpec DeclarationSpecifier;
/// Type. /// Type.

View File

@ -76,6 +76,8 @@ public:
unsigned getQualifiers() const { unsigned getQualifiers() const {
return ThePtr & CVRFlags; return ThePtr & CVRFlags;
} }
void dump() const;
}; };