[llvm] [NFC][TableGen] Fix GlobalISel TableGen backend namespace usage (PR #156986)

Rahul Joshi via llvm-commits llvm-commits at lists.llvm.org
Fri Sep 5 06:49:25 PDT 2025


================
@@ -20,17 +20,15 @@
 
 STATISTIC(NumPatternEmitted, "Number of patterns emitted");
 
-namespace llvm {
-namespace gi {
+using namespace llvm;
+using namespace gi;
 
-namespace {
-
-Error failUnsupported(const Twine &Reason) {
+static Error failUnsupported(const Twine &Reason) {
----------------
jurahul wrote:

Added FIXME for future fixups.

https://github.com/llvm/llvm-project/pull/156986


More information about the llvm-commits mailing list