diff options
author | Douglas Gregor <dgregor@apple.com> | 2009-10-17 17:25:45 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2009-10-17 17:25:45 +0000 |
commit | 813a97b3eee957eac3ac1fb111b8892fb9afd0d4 (patch) | |
tree | 540796ad725125b89f099263800678a200457d7e /lib/AST/DeclarationName.cpp | |
parent | babac13bb332974c8bb800b1a9714bcdf5afefcc (diff) | |
download | clang-813a97b3eee957eac3ac1fb111b8892fb9afd0d4.tar.gz |
Write the preprocessor block after we write out types + declarations,
so that we catch any macros used within the declarations and types.
Also, properly store a NULL selector.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@84334 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/AST/DeclarationName.cpp')
-rw-r--r-- | lib/AST/DeclarationName.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/AST/DeclarationName.cpp b/lib/AST/DeclarationName.cpp index 101ddd2509..4b31617f59 100644 --- a/lib/AST/DeclarationName.cpp +++ b/lib/AST/DeclarationName.cpp @@ -60,7 +60,7 @@ bool operator<(DeclarationName LHS, DeclarationName RHS) { DeclarationName::DeclarationName(Selector Sel) { if (!Sel.getAsOpaquePtr()) { - Ptr = StoredObjCZeroArgSelector; + Ptr = 0; return; } |