forked from OSchip/llvm-project
SemaDeclCXX.cpp: Suppress a warning. [-Wunused-variable]
llvm-svn: 226441
This commit is contained in:
parent
abfacbdf3a
commit
6a1565c7e5
|
@ -1652,6 +1652,7 @@ bool Sema::AttachBaseSpecifiers(CXXRecordDecl *Class, CXXBaseSpecifier **Bases,
|
|||
bool found
|
||||
= Class->isDerivedFrom(CanonicalBase->getAsCXXRecordDecl(), Paths);
|
||||
assert(found);
|
||||
(void)found;
|
||||
|
||||
if (Paths.isAmbiguous(CanonicalBase))
|
||||
Diag(Bases[idx]->getLocStart (), diag::warn_inaccessible_base_class)
|
||||
|
|
Loading…
Reference in New Issue