[PATCH] D47312: [NFC][VPlan] Wrap PlainCFGBuilder with an anonymous namespace.

Andrei Elovikov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu May 24 07:35:11 PDT 2018


This revision was automatically updated to reflect the committed changes.
Closed by commit rL333187: [NFC][VPlan] Wrap PlainCFGBuilder with an anonymous namespace. (authored by a.elovikov, committed by ).

Repository:
  rL LLVM

https://reviews.llvm.org/D47312

Files:
  llvm/trunk/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp


Index: llvm/trunk/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
===================================================================
--- llvm/trunk/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
+++ llvm/trunk/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
@@ -30,6 +30,7 @@
 
 using namespace llvm;
 
+namespace {
 // Class that is used to build the plain CFG for the incoming IR.
 class PlainCFGBuilder {
 private:
@@ -74,6 +75,7 @@
   // Build the plain CFG and return its Top Region.
   VPRegionBlock *buildPlainCFG();
 };
+} // anonymous namespace
 
 // Return true if \p Inst is an incoming Instruction to be ignored in the VPlan
 // representation.


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D47312.148409.patch
Type: text/x-patch
Size: 653 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180524/a1d51d8f/attachment.bin>


More information about the llvm-commits mailing list