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 | 4505315726f40bd486daf80c07a4d0920c7b18dc (patch) | |
| tree | 0b388f23d0cf1d4cc513680caec09036a5de14c4 /clang/lib/AST | |
| parent | c0c9968f1b46c8e68eedf0a41396b12ac16bf243 (diff) | |
| download | bcm5719-llvm-4505315726f40bd486daf80c07a4d0920c7b18dc.tar.gz bcm5719-llvm-4505315726f40bd486daf80c07a4d0920c7b18dc.zip | |
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.
llvm-svn: 84334
Diffstat (limited to 'clang/lib/AST')
| -rw-r--r-- | clang/lib/AST/DeclarationName.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/AST/DeclarationName.cpp b/clang/lib/AST/DeclarationName.cpp index 101ddd25093..4b31617f59a 100644 --- a/clang/lib/AST/DeclarationName.cpp +++ b/clang/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; } |

