forked from OSchip/llvm-project
Using the function pointer instead of the function type; this allows us to re-enable a warning in MSVC by default.
llvm-svn: 187292
This commit is contained in:
parent
9ba44da833
commit
a5e9c5b865
|
@ -981,7 +981,7 @@ MemRegionManager::getCXXBaseObjectRegion(const CXXRecordDecl *RD,
|
|||
bool IsVirtual) {
|
||||
if (isa<TypedValueRegion>(Super)) {
|
||||
assert(isValidBaseClass(RD, dyn_cast<TypedValueRegion>(Super), IsVirtual));
|
||||
(void)isValidBaseClass;
|
||||
(void)&isValidBaseClass;
|
||||
|
||||
if (IsVirtual) {
|
||||
// Virtual base regions should not be layered, since the layout rules
|
||||
|
|
Loading…
Reference in New Issue