r226441 - SemaDeclCXX.cpp: Suppress a warning. [-Wunused-variable]

NAKAMURA Takumi geek4civic at gmail.com
Mon Jan 19 01:49:59 PST 2015


Author: chapuni
Date: Mon Jan 19 03:49:59 2015
New Revision: 226441

URL: http://llvm.org/viewvc/llvm-project?rev=226441&view=rev
Log:
SemaDeclCXX.cpp: Suppress a warning. [-Wunused-variable]

Modified:
    cfe/trunk/lib/Sema/SemaDeclCXX.cpp

Modified: cfe/trunk/lib/Sema/SemaDeclCXX.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/SemaDeclCXX.cpp?rev=226441&r1=226440&r2=226441&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/SemaDeclCXX.cpp (original)
+++ cfe/trunk/lib/Sema/SemaDeclCXX.cpp Mon Jan 19 03:49:59 2015
@@ -1652,6 +1652,7 @@ bool Sema::AttachBaseSpecifiers(CXXRecor
       bool found
         = Class->isDerivedFrom(CanonicalBase->getAsCXXRecordDecl(), Paths);
       assert(found);
+      (void)found;
 
       if (Paths.isAmbiguous(CanonicalBase))
         Diag(Bases[idx]->getLocStart (), diag::warn_inaccessible_base_class)





More information about the cfe-commits mailing list