File tree 2 files changed +2
-4
lines changed
2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -548,7 +548,6 @@ static unsigned fromRust(LLVMRustDIFlags Flags) {
548
548
if (isSet (Flags & LLVMRustDIFlags::FlagRValueReference)) {
549
549
Result |= DINode::DIFlags::FlagRValueReference;
550
550
}
551
- #if LLVM_RUSTLLVM || LLVM_VERSION_GE(4, 0)
552
551
if (isSet (Flags & LLVMRustDIFlags::FlagExternalTypeRef)) {
553
552
Result |= DINode::DIFlags::FlagExternalTypeRef;
554
553
}
@@ -558,6 +557,7 @@ static unsigned fromRust(LLVMRustDIFlags Flags) {
558
557
if (isSet (Flags & LLVMRustDIFlags::FlagBitField)) {
559
558
Result |= DINode::DIFlags::FlagBitField;
560
559
}
560
+ #if LLVM_RUSTLLVM || LLVM_VERSION_GE(4, 0)
561
561
if (isSet (Flags & LLVMRustDIFlags::FlagNoReturn)) {
562
562
Result |= DINode::DIFlags::FlagNoReturn;
563
563
}
Original file line number Diff line number Diff line change 9
9
// except according to those terms.
10
10
11
11
// ignore-tidy-linelength
12
- // min-llvm-version 3.8
12
+ // min-llvm-version 4.0
13
13
14
14
// compile-flags: -g -C no-prepopulate-passes
15
15
@@ -19,8 +19,6 @@ fn foo() -> ! {
19
19
loop { }
20
20
}
21
21
22
- // CHECK: {{.*}}DISubprogram{{.*}}name: "main",{{.*}}DIFlagMainSubprogram{{.*}}
23
-
24
22
pub fn main ( ) {
25
23
foo ( ) ;
26
24
}
You can’t perform that action at this time.
0 commit comments