Skip to content

Commit f3ddbd3

Browse files
jurahulakadutta
authored andcommitted
[NFC][LLVM] Namespace cleanup in FlattenCFGPass.cpp (llvm#163304)
1 parent d5ef37a commit f3ddbd3

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

llvm/lib/Transforms/Scalar/FlattenCFGPass.cpp

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -39,10 +39,11 @@ struct FlattenCFGLegacyPass : public FunctionPass {
3939
private:
4040
AliasAnalysis *AA;
4141
};
42+
} // namespace
4243

4344
/// iterativelyFlattenCFG - Call FlattenCFG on all the blocks in the function,
4445
/// iterating until no more changes are made.
45-
bool iterativelyFlattenCFG(Function &F, AliasAnalysis *AA) {
46+
static bool iterativelyFlattenCFG(Function &F, AliasAnalysis *AA) {
4647
bool Changed = false;
4748
bool LocalChange = true;
4849

@@ -67,7 +68,6 @@ bool iterativelyFlattenCFG(Function &F, AliasAnalysis *AA) {
6768
}
6869
return Changed;
6970
}
70-
} // namespace
7171

7272
char FlattenCFGLegacyPass::ID = 0;
7373

0 commit comments

Comments
 (0)