[compiler-rt] [scudo] Support no-preserve-all-regions mode (PR #85149)

Christopher Ferris via llvm-commits llvm-commits at lists.llvm.org
Thu Mar 21 19:42:26 PDT 2024


================
@@ -251,9 +238,10 @@ template <typename Config> class SizeClassAllocator64 {
         }
 
         const bool RegionIsExhausted = Region->Exhausted;
-        if (!RegionIsExhausted)
+        if (!RegionIsExhausted) {
----------------
cferris1000 wrote:

Since this is a single line if, should it be done without braces?

That tends to be the current code style.

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


More information about the llvm-commits mailing list