]> granicus.if.org Git - clang/commitdiff
Fix self-referential comment.
authorRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 1 Apr 2014 18:33:50 +0000 (18:33 +0000)
committerRichard Smith <richard-llvm@metafoo.co.uk>
Tue, 1 Apr 2014 18:33:50 +0000 (18:33 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@205340 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Sema/SemaLookup.cpp

index 020fafa8f561ea94c5e64e69f9cff59f9a042331..ac6fb25caee4f4d4337918c9f163b46e451ccce7 100644 (file)
@@ -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 ||