[llvm] 2b019a7 - [ADT] Include bit.h instead of MathExtras.h (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 10 11:41:55 PST 2023


Author: Kazu Hirata
Date: 2023-12-10T11:41:48-08:00
New Revision: 2b019a785fb4cb921150a85d3616090287550d46

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

LOG: [ADT] Include bit.h instead of MathExtras.h (NFC)

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/ADT/SparseBitVector.h b/llvm/include/llvm/ADT/SparseBitVector.h
index 1e00c13861875..7151af6146e6e 100644
--- a/llvm/include/llvm/ADT/SparseBitVector.h
+++ b/llvm/include/llvm/ADT/SparseBitVector.h
@@ -15,8 +15,8 @@
 #ifndef LLVM_ADT_SPARSEBITVECTOR_H
 #define LLVM_ADT_SPARSEBITVECTOR_H
 
+#include "llvm/ADT/bit.h"
 #include "llvm/Support/ErrorHandling.h"
-#include "llvm/Support/MathExtras.h"
 #include "llvm/Support/raw_ostream.h"
 #include <cassert>
 #include <climits>


        


More information about the llvm-commits mailing list