File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change
1
+ // ===- llvm/unittest/CodeGen/TypeTraitsTest.cpp --------------===//
2
+ //
3
+ // The LLVM Compiler Infrastructure
4
+ //
5
+ // This file is distributed under the University of Illinois Open Source
6
+ // License. See LICENSE.TXT for details.
7
+ //
8
+ // ===----------------------------------------------------------------------===//
9
+
10
+ #include " llvm/CodeGen/RegisterPressure.h"
11
+ #include " llvm/CodeGen/ScheduleDAG.h"
12
+ #include " llvm/CodeGen/SelectionDAGNodes.h"
13
+ #include " llvm/CodeGen/SlotIndexes.h"
14
+ #include " llvm/CodeGen/TargetPassConfig.h"
15
+ #include " gtest/gtest.h"
16
+
17
+ using namespace llvm ;
18
+
19
+ #if __has_feature(is_trivially_copyable) || (defined(__GNUC__) && __GNUC__ >= 5)
20
+ static_assert (is_trivially_copyable<PressureChange>::value, " trivially copyable" );
21
+ static_assert (is_trivially_copyable<SDep>::value, " trivially copyable" );
22
+ static_assert (is_trivially_copyable<SDValue>::value, " trivially copyable" );
23
+ static_assert (is_trivially_copyable<SlotIndex>::value, " trivially copyable" );
24
+ static_assert (is_trivially_copyable<IdentifyingPassPtr>::value, " trivially copyable" );
25
+ #endif
26
+
You can’t perform that action at this time.
0 commit comments