[llvm] 7c9f137 - [ADT] Drop unused include in StringSwitch. NFC.

Jakub Kuderski via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 3 06:57:42 PST 2025


Author: Jakub Kuderski
Date: 2025-11-03T09:56:34-05:00
New Revision: 7c9f137b3ce775a5a4f9eee54700e1591a4a9f9d

URL: https://github.com/llvm/llvm-project/commit/7c9f137b3ce775a5a4f9eee54700e1591a4a9f9d
DIFF: https://github.com/llvm/llvm-project/commit/7c9f137b3ce775a5a4f9eee54700e1591a4a9f9d.diff

LOG: [ADT] Drop unused include in StringSwitch. NFC.

Added: 
    

Modified: 
    llvm/include/llvm/ADT/StringSwitch.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ADT/StringSwitch.h b/llvm/include/llvm/ADT/StringSwitch.h
index 8c8d31bd4f055..5bdbb302a6d75 100644
--- a/llvm/include/llvm/ADT/StringSwitch.h
+++ b/llvm/include/llvm/ADT/StringSwitch.h
@@ -14,7 +14,6 @@
 #define LLVM_ADT_STRINGSWITCH_H
 
 #include "llvm/ADT/StringRef.h"
-#include "llvm/Support/Compiler.h"
 #include "llvm/Support/ErrorHandling.h"
 #include <cassert>
 #include <cstring>
@@ -64,7 +63,7 @@ class StringSwitch {
   void operator=(const StringSwitch &) = delete;
   void operator=(StringSwitch &&) = delete;
 
-  // Case-sensitive case matchers
+  // Case-sensitive case matchers.
   StringSwitch &Case(StringLiteral S, T Value) {
     CaseImpl(S, Value);
     return *this;


        


More information about the llvm-commits mailing list