[llvm] 2c18e81 - [Support] Delete redundant 'static' from namespace scope 'static constexpr'. NFC

Fangrui Song via llvm-commits llvm-commits at lists.llvm.org
Sat Jul 9 23:36:06 PDT 2022


Author: Fangrui Song
Date: 2022-07-09T23:36:01-07:00
New Revision: 2c18e817eefefcbe8a5f08a3f558781892fdf679

URL: https://github.com/llvm/llvm-project/commit/2c18e817eefefcbe8a5f08a3f558781892fdf679
DIFF: https://github.com/llvm/llvm-project/commit/2c18e817eefefcbe8a5f08a3f558781892fdf679.diff

LOG: [Support] Delete redundant 'static' from namespace scope 'static constexpr'. NFC

Added: 
    

Modified: 
    llvm/include/llvm/Support/Compression.h

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/Compression.h b/llvm/include/llvm/Support/Compression.h
index 6175a85f64b51..fe7a0ed66cfae 100644
--- a/llvm/include/llvm/Support/Compression.h
+++ b/llvm/include/llvm/Support/Compression.h
@@ -21,13 +21,12 @@ class Error;
 class StringRef;
 
 namespace compression {
-
 namespace zlib {
 
-static constexpr int NoCompression = 0;
-static constexpr int BestSpeedCompression = 1;
-static constexpr int DefaultCompression = 6;
-static constexpr int BestSizeCompression = 9;
+constexpr int NoCompression = 0;
+constexpr int BestSpeedCompression = 1;
+constexpr int DefaultCompression = 6;
+constexpr int BestSizeCompression = 9;
 
 bool isAvailable();
 


        


More information about the llvm-commits mailing list