summaryrefslogtreecommitdiffstats
path: root/clang/lib/AST
diff options
context:
space:
mode:
authorDouglas Gregor <dgregor@apple.com>2009-10-17 17:25:45 +0000
committerDouglas Gregor <dgregor@apple.com>2009-10-17 17:25:45 +0000
commit4505315726f40bd486daf80c07a4d0920c7b18dc (patch)
tree0b388f23d0cf1d4cc513680caec09036a5de14c4 /clang/lib/AST
parentc0c9968f1b46c8e68eedf0a41396b12ac16bf243 (diff)
downloadbcm5719-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.cpp2
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;
}
OpenPOWER on IntegriCloud