[clang] [analyzer][NFC] Clean up `MemRegion.cpp` and align with llvm coding style (PR #218860)

Balázs Benics via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 26 03:31:21 PDT 2026


================
@@ -1230,9 +1227,9 @@ MemRegionManager::getCompoundLiteralRegion(const CompoundLiteralExpr *CL,
                                            const StackFrame *SF) {
   const MemSpaceRegion *sReg = nullptr;
 
-  if (CL->isFileScope())
+  if (CL->isFileScope()) {
     sReg = getGlobalsRegion();
-  else {
+  } else {
----------------
steakhal wrote:

This is good!

https://github.com/llvm/llvm-project/pull/218860


More information about the cfe-commits mailing list