diff options
author | Douglas Gregor <dgregor@apple.com> | 2010-12-02 16:19:31 +0000 |
---|---|---|
committer | Douglas Gregor <dgregor@apple.com> | 2010-12-02 16:19:31 +0000 |
commit | fce5656f752199bb99a80fdff9184f9ddb470fc3 (patch) | |
tree | 043f00a1fc61466a30b3e60fdfef601cfe37b444 /lib/Sema | |
parent | 6939fff69a3dfff2552261a1d7f1f609380fe6b0 (diff) |
Do not change the size of LookupResult::Filter based on the NDEBUG
macri; the extra bool fits into padding anyway.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@120708 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Sema')
-rw-r--r-- | lib/Sema/SemaLookup.cpp | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/lib/Sema/SemaLookup.cpp b/lib/Sema/SemaLookup.cpp index b73177e791..16ca78f4dd 100644 --- a/lib/Sema/SemaLookup.cpp +++ b/lib/Sema/SemaLookup.cpp @@ -292,7 +292,6 @@ void LookupResult::configure() { } } -#ifndef NDEBUG void LookupResult::sanity() const { assert(ResultKind != NotFound || Decls.size() == 0); assert(ResultKind != Found || Decls.size() == 1); @@ -307,7 +306,6 @@ void LookupResult::sanity() const { (Ambiguity == AmbiguousBaseSubobjectTypes || Ambiguity == AmbiguousBaseSubobjects))); } -#endif // Necessary because CXXBasePaths is not complete in Sema.h void LookupResult::deletePaths(CXXBasePaths *Paths) { |