[llvm-branch-commits] [llvm] f6d6809 - [llvm] Stop including array (NFC)

Kazu Hirata via llvm-branch-commits llvm-branch-commits at lists.llvm.org
Mon Dec 4 11:04:17 PST 2023


Author: Kazu Hirata
Date: 2023-12-02T00:52:25-08:00
New Revision: f6d6809d787b7f5d150715aa475f71bca083aebd

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

LOG: [llvm] Stop including array (NFC)

Identified with clangd.

Added: 
    

Modified: 
    llvm/include/llvm/Support/TypeSize.h
    llvm/include/llvm/XRay/BlockVerifier.h
    llvm/lib/Target/ARM/ARMHazardRecognizer.h
    llvm/unittests/Support/DivisionByConstantTest.cpp

Removed: 
    


################################################################################
diff  --git a/llvm/include/llvm/Support/TypeSize.h b/llvm/include/llvm/Support/TypeSize.h
index 08ab7c9024f75..4d9d4f400e927 100644
--- a/llvm/include/llvm/Support/TypeSize.h
+++ b/llvm/include/llvm/Support/TypeSize.h
@@ -20,7 +20,6 @@
 #include "llvm/Support/raw_ostream.h"
 
 #include <algorithm>
-#include <array>
 #include <cassert>
 #include <cstdint>
 #include <type_traits>

diff  --git a/llvm/include/llvm/XRay/BlockVerifier.h b/llvm/include/llvm/XRay/BlockVerifier.h
index 0175584d8235e..0bfbbb6c5b076 100644
--- a/llvm/include/llvm/XRay/BlockVerifier.h
+++ b/llvm/include/llvm/XRay/BlockVerifier.h
@@ -14,7 +14,6 @@
 #define LLVM_XRAY_BLOCKVERIFIER_H
 
 #include "llvm/XRay/FDRRecords.h"
-#include <array>
 #include <bitset>
 
 namespace llvm {

diff  --git a/llvm/lib/Target/ARM/ARMHazardRecognizer.h b/llvm/lib/Target/ARM/ARMHazardRecognizer.h
index 66a1477e5e082..b9ac3555c2bc3 100644
--- a/llvm/lib/Target/ARM/ARMHazardRecognizer.h
+++ b/llvm/lib/Target/ARM/ARMHazardRecognizer.h
@@ -18,7 +18,6 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/CodeGen/ScheduleHazardRecognizer.h"
 #include "llvm/Support/DataTypes.h"
-#include <array>
 #include <initializer_list>
 
 namespace llvm {

diff  --git a/llvm/unittests/Support/DivisionByConstantTest.cpp b/llvm/unittests/Support/DivisionByConstantTest.cpp
index 5db9123ef48f7..2b17f98bb75b2 100644
--- a/llvm/unittests/Support/DivisionByConstantTest.cpp
+++ b/llvm/unittests/Support/DivisionByConstantTest.cpp
@@ -9,7 +9,6 @@
 #include "llvm/ADT/APInt.h"
 #include "llvm/Support/DivisionByConstantInfo.h"
 #include "gtest/gtest.h"
-#include <array>
 
 using namespace llvm;
 


        


More information about the llvm-branch-commits mailing list