[clang] 0039249 - Remove useless RUN lines in the middle of the file and pipe to FileCheck; NFC

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Thu Feb 24 08:01:42 PST 2022


Author: Aaron Ballman
Date: 2022-02-24T11:01:33-05:00
New Revision: 003924963f95c746ab72cc8ea0201c855f5264fb

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

LOG: Remove useless RUN lines in the middle of the file and pipe to FileCheck; NFC

Added: 
    

Modified: 
    clang/test/CodeGen/attributes.c

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGen/attributes.c b/clang/test/CodeGen/attributes.c
index 7ee6fb903fa7a..ec42ff2f2c50f 100644
--- a/clang/test/CodeGen/attributes.c
+++ b/clang/test/CodeGen/attributes.c
@@ -1,5 +1,4 @@
-// RUN: %clang_cc1 -emit-llvm -fcf-protection=branch -triple i386-linux-gnu -o %t %s
-// RUN: FileCheck --input-file=%t %s
+// RUN: %clang_cc1 -emit-llvm -fcf-protection=branch -triple i386-linux-gnu %s -o - | FileCheck %s
 
 // CHECK: @t5 = weak{{.*}} global i32 2
 int t5 __attribute__((weak)) = 2;
@@ -79,9 +78,6 @@ void __attribute__((section("xSECT"))) t11(void) {}
 // CHECK: define{{.*}} i32 @t19() [[NUW]] {
 extern int t19(void) __attribute__((weak_import));
 int t19(void) {
-// RUN: %clang_cc1 -emit-llvm -fcf-protection=branch -triple i386-linux-gnu -o %t %s
-// RUN: %clang_cc1 -emit-llvm -fcf-protection=branch -triple i386-linux-gnu -o %t %s
-// RUN: %clang_cc1 -emit-llvm -fcf-protection=branch -triple i386-linux-gnu -o %t %s
   return 10;
 }
 


        


More information about the cfe-commits mailing list