[flang-commits] [flang] 8f64d52 - [flang] Remove unused using decls (NFC)
Kazu Hirata via flang-commits
flang-commits at lists.llvm.org
Tue Oct 10 18:57:27 PDT 2023
Author: Kazu Hirata
Date: 2023-10-10T18:57:13-07:00
New Revision: 8f64d52cb8b84a4abc4c432f95b78c6f0d17b579
URL: https://github.com/llvm/llvm-project/commit/8f64d52cb8b84a4abc4c432f95b78c6f0d17b579
DIFF: https://github.com/llvm/llvm-project/commit/8f64d52cb8b84a4abc4c432f95b78c6f0d17b579.diff
LOG: [flang] Remove unused using decls (NFC)
Identified with misc-unused-using-decls.
Added:
Modified:
flang/tools/flang-driver/driver.cpp
flang/unittests/Optimizer/InternalNamesTest.cpp
Removed:
################################################################################
diff --git a/flang/tools/flang-driver/driver.cpp b/flang/tools/flang-driver/driver.cpp
index c7c39a731cef2d2..99fa66b0dc8e266 100644
--- a/flang/tools/flang-driver/driver.cpp
+++ b/flang/tools/flang-driver/driver.cpp
@@ -32,8 +32,6 @@
#include "llvm/TargetParser/Host.h"
#include <stdlib.h>
-using llvm::StringRef;
-
// main frontend method. Lives inside fc1_main.cpp
extern int fc1_main(llvm::ArrayRef<const char *> argv, const char *argv0);
diff --git a/flang/unittests/Optimizer/InternalNamesTest.cpp b/flang/unittests/Optimizer/InternalNamesTest.cpp
index 28e49fc5154726a..058bbeef9b00709 100644
--- a/flang/unittests/Optimizer/InternalNamesTest.cpp
+++ b/flang/unittests/Optimizer/InternalNamesTest.cpp
@@ -13,7 +13,6 @@
using namespace fir;
using llvm::SmallVector;
-using llvm::StringRef;
struct DeconstructedName {
DeconstructedName(llvm::StringRef name) : name{name} {}
More information about the flang-commits
mailing list