Skip to content

Commit

Permalink
Removed unnecessary namespace llvm
Browse files Browse the repository at this point in the history
Because there's
``using namespace llvm;``
There's no reason to use be using llvm::Function in some instances, it is now Function
  • Loading branch information
Kratosix authored Jul 23, 2024
1 parent adfe555 commit 2455696
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/ConvertFCmpEq.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -132,7 +132,7 @@ PreservedAnalyses ConvertFCmpEq::run(Function &Func,
return Modified ? PreservedAnalyses::none() : PreservedAnalyses::all();
}

bool ConvertFCmpEq::run(llvm::Function &Func,
bool ConvertFCmpEq::run(Function &Func,
const FindFCmpEq::Result &Comparisons) {
bool Modified = false;
// Functions marked explicitly 'optnone' should be ignored since we shouldn't
Expand Down

0 comments on commit 2455696

Please sign in to comment.