================
@@ -808,13 +808,11 @@ std::string MemRegion::getDescriptiveName(bool UseQuotes,
SourceRange MemRegion::sourceRange() const {
// Check for more specific regions first.
- if (auto *FR = dyn_cast<FieldRegion>(this)) {
+ if (auto *FR = dyn_cast<FieldRegion>(this))
return FR->getDecl()->getSourceRange();
- }
- if (auto *VR = dyn_cast<VarRegion>(this->getBaseRegion())) {
+ if (auto *VR = dyn_cast<VarRegion>(this->getBaseRegion()))
----------------
steakhal wrote:
These brace changes doesn't really pull their weight.
https://github.com/llvm/llvm-project/pull/218860
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits