r205340 - Fix self-referential comment.
Richard Smith
richard-llvm at metafoo.co.uk
Tue Apr 1 11:33:50 PDT 2014
Author: rsmith
Date: Tue Apr 1 13:33:50 2014
New Revision: 205340
URL: http://llvm.org/viewvc/llvm-project?rev=205340&view=rev
Log:
Fix self-referential comment.
Modified:
cfe/trunk/lib/Sema/SemaLookup.cpp
Modified: cfe/trunk/lib/Sema/SemaLookup.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaLookup.cpp?rev=205340&r1=205339&r2=205340&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaLookup.cpp (original)
+++ cfe/trunk/lib/Sema/SemaLookup.cpp Tue Apr 1 13:33:50 2014
@@ -310,8 +310,7 @@ void LookupResult::configure() {
}
bool LookupResult::sanity() const {
- // Note that this function is never called by NDEBUG builds. See
- // LookupResult::sanity().
+ // This function is never called by NDEBUG builds.
assert(ResultKind != NotFound || Decls.size() == 0);
assert(ResultKind != Found || Decls.size() == 1);
assert(ResultKind != FoundOverloaded || Decls.size() > 1 ||
More information about the cfe-commits
mailing list