diff options
author | Steve Naroff <snaroff@apple.com> | 2008-04-15 22:42:06 +0000 |
---|---|---|
committer | Steve Naroff <snaroff@apple.com> | 2008-04-15 22:42:06 +0000 |
commit | 248a753f6b670692523c99afaeb8fe98f7ae3ca7 (patch) | |
tree | f51ae4f62f1bdefaf28f672616ec7eaf4ff67f9a /include/clang/AST/DeclBase.h | |
parent | 4b0f81323b518429203051bbcd4864bbf4b000a9 (diff) |
Remove FileVarDecl and BlockVarDecl. They are replaced by VarDecl::isBlockVarDecl() and VarDecl::isFileVarDecl().
This is a fairly mechanical/large change. As a result, I avoided making any changes/simplifications that weren't directly related. I did break two Analysis tests. I also have a couple FIXME's in UninitializedValues.cpp. Ted, can you take a look? If the bug isn't obvious, I am happy to dig in and fix it (since I broke it).
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@49748 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/clang/AST/DeclBase.h')
-rw-r--r-- | include/clang/AST/DeclBase.h | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/include/clang/AST/DeclBase.h b/include/clang/AST/DeclBase.h index a5c1cb29ec..3575faaaf5 100644 --- a/include/clang/AST/DeclBase.h +++ b/include/clang/AST/DeclBase.h @@ -55,9 +55,7 @@ public: // ValueDecl EnumConstant, Function, - // VarDecl - BlockVar, - FileVar, + Var, ParmVar, ObjCInterface, ObjCCompatibleAlias, @@ -76,7 +74,7 @@ public: TagFirst = Enum , TagLast = Class, RecordFirst = Struct , RecordLast = Class, ValueFirst = EnumConstant , ValueLast = ParmVar, - VarFirst = BlockVar , VarLast = ParmVar + VarFirst = Var , VarLast = ParmVar }; /// IdentifierNamespace - According to C99 6.2.3, there are four namespaces, @@ -151,8 +149,7 @@ public: default: assert(0 && "Unknown decl kind!"); case Typedef: case Function: - case BlockVar: - case FileVar: + case Var: case ParmVar: case EnumConstant: case ObjCInterface: |