Skip to content

Commit

Permalink
[NFC][VPlan] Wrap PlainCFGBuilder with an anonymous namespace.
Browse files Browse the repository at this point in the history
Summary:
It's internal to the VPlanHCFGBuilder and should not be visible outside of its
translation unit.

Reviewers: dcaballe, fhahn

Reviewed By: fhahn

Subscribers: rengolin, bollu, tschuett, llvm-commits, rkruppe

Differential Revision: https://reviews.llvm.org/D47312

llvm-svn: 333187
  • Loading branch information
aelovikov-intel committed May 24, 2018
1 parent 43cb451 commit d34b765
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions llvm/lib/Transforms/Vectorize/VPlanHCFGBuilder.cpp
Original file line number Diff line number Diff line change
@@ -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 @@ class PlainCFGBuilder {
// 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.

0 comments on commit d34b765

Please sign in to comment.