[llvm] cb51153 - [Attributor][NFC] Clang format the Attributor source files

Johannes Doerfert via llvm-commits llvm-commits at lists.llvm.org
Sun May 23 20:08:35 PDT 2021


Author: Johannes Doerfert
Date: 2021-05-23T20:47:05-05:00
New Revision: cb511531b9249b62a1488f61d1e0861680d8ae34

URL: https://github.com/llvm/llvm-project/commit/cb511531b9249b62a1488f61d1e0861680d8ae34
DIFF: https://github.com/llvm/llvm-project/commit/cb511531b9249b62a1488f61d1e0861680d8ae34.diff

LOG: [Attributor][NFC] Clang format the Attributor source files

Added: 
    

Modified: 
    llvm/lib/Transforms/IPO/AttributorAttributes.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
index a0af66d245203..7504f2a4d9118 100644
--- a/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
+++ b/llvm/lib/Transforms/IPO/AttributorAttributes.cpp
@@ -2293,8 +2293,8 @@ struct AAWillReturnImpl : public AAWillReturn {
         (!getAssociatedFunction() || !getAssociatedFunction()->mustProgress()))
       return false;
 
-    const auto &MemAA = A.getAAFor<AAMemoryBehavior>(*this, getIRPosition(),
-                                                      DepClassTy::NONE);
+    const auto &MemAA =
+        A.getAAFor<AAMemoryBehavior>(*this, getIRPosition(), DepClassTy::NONE);
     if (!MemAA.isAssumedReadOnly())
       return false;
     if (KnownOnly && !MemAA.isKnownReadOnly())
@@ -3609,7 +3609,7 @@ struct AADereferenceableFloating : AADereferenceableImpl {
         // TODO: track globally.
         bool CanBeNull, CanBeFreed;
         DerefBytes =
-          Base->getPointerDereferenceableBytes(DL, CanBeNull, CanBeFreed);
+            Base->getPointerDereferenceableBytes(DL, CanBeNull, CanBeFreed);
         T.GlobalState.indicatePessimisticFixpoint();
       } else {
         const DerefState &DS = AA.getState();


        


More information about the llvm-commits mailing list