[llvm] 37a5304 - [Support] Stop including cstddef (NFC)

Kazu Hirata via llvm-commits llvm-commits at lists.llvm.org
Thu Oct 12 22:20:21 PDT 2023


Author: Kazu Hirata
Date: 2023-10-12T22:20:14-07:00
New Revision: 37a53049765845d3cb9d697d40bd82c9611b73d5

URL: https://github.com/llvm/llvm-project/commit/37a53049765845d3cb9d697d40bd82c9611b73d5
DIFF: https://github.com/llvm/llvm-project/commit/37a53049765845d3cb9d697d40bd82c9611b73d5.diff

LOG: [Support] Stop including cstddef (NFC)

SwapByteOrder.h doesn't use anything from <cstddef>.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/SwapByteOrder.h b/llvm/include/llvm/Support/SwapByteOrder.h
index 8f26af6f68ac65f..18fd41ac5b04e49 100644
--- a/llvm/include/llvm/Support/SwapByteOrder.h
+++ b/llvm/include/llvm/Support/SwapByteOrder.h
@@ -15,7 +15,6 @@
 #define LLVM_SUPPORT_SWAPBYTEORDER_H
 
 #include "llvm/ADT/bit.h"
-#include <cstddef>
 #include <cstdint>
 #include <type_traits>
 


        


More information about the llvm-commits mailing list