[llvm] r374647 - [Attributor] Extend anonymous namespace. NFC.

Benjamin Kramer via llvm-commits llvm-commits at lists.llvm.org
Sat Oct 12 04:01:53 PDT 2019


Author: d0k
Date: Sat Oct 12 04:01:52 2019
New Revision: 374647

URL: http://llvm.org/viewvc/llvm-project?rev=374647&view=rev
Log:
[Attributor] Extend anonymous namespace. NFC.

Modified:
    llvm/trunk/lib/Transforms/IPO/Attributor.cpp

Modified: llvm/trunk/lib/Transforms/IPO/Attributor.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Transforms/IPO/Attributor.cpp?rev=374647&r1=374646&r2=374647&view=diff
==============================================================================
--- llvm/trunk/lib/Transforms/IPO/Attributor.cpp (original)
+++ llvm/trunk/lib/Transforms/IPO/Attributor.cpp Sat Oct 12 04:01:52 2019
@@ -3667,7 +3667,6 @@ struct AAHeapToStackFunction final : pub
     BUILD_STAT_NAME(MallocCalls, Function) += MallocCalls.size();
   }
 };
-} // namespace
 
 /// -------------------- Memory Behavior Attributes ----------------------------
 /// Includes read-none, read-only, and write-only.
@@ -3940,6 +3939,7 @@ struct AAMemoryBehaviorCallSite final :
       STATS_DECLTRACK_CS_ATTR(writeonly)
   }
 };
+} // namespace
 
 ChangeStatus AAMemoryBehaviorFunction::updateImpl(Attributor &A) {
 




More information about the llvm-commits mailing list