[Attributor] Extend anonymous namespace. NFC.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 12 Oct 2019 11:01:52 +0000 (11:01 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 12 Oct 2019 11:01:52 +0000 (11:01 +0000)
llvm-svn: 374647

llvm/lib/Transforms/IPO/Attributor.cpp

index 4b39353..787a36c 100644 (file)
@@ -3667,7 +3667,6 @@ struct AAHeapToStackFunction final : public AAHeapToStackImpl {
     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 : AAMemoryBehaviorImpl {
       STATS_DECLTRACK_CS_ATTR(writeonly)
   }
 };
+} // namespace
 
 ChangeStatus AAMemoryBehaviorFunction::updateImpl(Attributor &A) {