forked from OSchip/llvm-project
Add void cast to suppress -Wunused-member-variable on assert-only member
This commit is contained in:
parent
499571ea83
commit
9f6649dd12
|
@ -1492,6 +1492,7 @@ public:
|
|||
}
|
||||
|
||||
// Try to parse the region.
|
||||
(void)isIsolatedFromAbove;
|
||||
assert((!enableNameShadowing || isIsolatedFromAbove) &&
|
||||
"name shadowing is only allowed on isolated regions");
|
||||
if (parser.parseRegion(region, regionArguments, enableNameShadowing))
|
||||
|
|
Loading…
Reference in New Issue