From f9ee5e3c032b162b5e4fa3065008a40d8bf12fd7 Mon Sep 17 00:00:00 2001 From: Bit <120779609+Kratosix@users.noreply.github.com> Date: Tue, 23 Jul 2024 02:04:08 +0200 Subject: [PATCH] Removed unnecessary namespace llvm Because there's ``using namespace llvm;`` There's no reason to use be using llvm::Function in some instances, it is now Function --- lib/ConvertFCmpEq.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/ConvertFCmpEq.cpp b/lib/ConvertFCmpEq.cpp index 6d3d8b21..f10efae7 100644 --- a/lib/ConvertFCmpEq.cpp +++ b/lib/ConvertFCmpEq.cpp @@ -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