add note about eliminating DeclSpec.
Add TypeRef::dump method. llvm-svn: 39169
This commit is contained in:
parent
96bff30868
commit
5983de06cd
|
@ -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.
|
||||||
|
|
|
@ -76,6 +76,8 @@ public:
|
||||||
unsigned getQualifiers() const {
|
unsigned getQualifiers() const {
|
||||||
return ThePtr & CVRFlags;
|
return ThePtr & CVRFlags;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
void dump() const;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue