Skip to content

Commit a3a346c

Browse files
[llvm] Adjust inlucdes of ArrayRef.h (NFC)
Without this patch, CallingConvLower.h is relying on the transitive include of ArrayRef.h in TypeSize.h, which doesn't need ArrayRef.h.
1 parent 2f69dc2 commit a3a346c

File tree

2 files changed

+1
-1
lines changed

2 files changed

+1
-1
lines changed

llvm/include/llvm/CodeGen/CallingConvLower.h

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,7 @@
1414
#ifndef LLVM_CODEGEN_CALLINGCONVLOWER_H
1515
#define LLVM_CODEGEN_CALLINGCONVLOWER_H
1616

17+
#include "llvm/ADT/ArrayRef.h"
1718
#include "llvm/ADT/SmallVector.h"
1819
#include "llvm/CodeGen/Register.h"
1920
#include "llvm/CodeGen/TargetCallingConv.h"

llvm/include/llvm/Support/TypeSize.h

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,6 @@
1515
#ifndef LLVM_SUPPORT_TYPESIZE_H
1616
#define LLVM_SUPPORT_TYPESIZE_H
1717

18-
#include "llvm/ADT/ArrayRef.h"
1918
#include "llvm/Support/MathExtras.h"
2019
#include "llvm/Support/raw_ostream.h"
2120

0 commit comments

Comments
 (0)