llvmorg-github-actions[bot] wrote:
<!--LLVM PR SUMMARY COMMENT--> @llvm/pr-subscribers-clang Author: Pranjal Srivastava (ipranjalks) <details> <summary>Changes</summary> The `:` was missing from: - `CHECK-NEXT` in `clang/test/AST/ast-dump-attr-type.cpp`. - `CHECK-LABEL` in `clang/test/CodeGen/constantexpr-fneg.c`. --- Full diff: https://github.com/llvm/llvm-project/pull/235342.diff 2 Files Affected: - (modified) clang/test/AST/ast-dump-attr-type.cpp (+3-3) - (modified) clang/test/CodeGen/constantexpr-fneg.c (+1-1) ``````````diff diff --git a/clang/test/AST/ast-dump-attr-type.cpp b/clang/test/AST/ast-dump-attr-type.cpp index 78a3b660bbe602..07337aaaf25901 100644 --- a/clang/test/AST/ast-dump-attr-type.cpp +++ b/clang/test/AST/ast-dump-attr-type.cpp @@ -19,6 +19,6 @@ using Ty1 = decltype(y); // CHECK-NEXT: |-DeclRefExpr 0x{{[^ ]*}} <col:22> '__attribute__((address_space(3))) int *' lvalue Var 0x{{[^ ]*}} 'y' '__attribute__((address_space(3))) int *' non_odr_use_unevaluated // CHECK-NEXT: `-PointerType 0x{{[^ ]*}} '__attribute__((address_space(3))) int *' // CHECK-NEXT: `-AttributedType 0x{{[^ ]*}} '__attribute__((address_space(3))) int' sugar -// CHECK-NEXT |-BuiltinType 0x{{[^ ]*}} 'int' -// CHECK-NEXT `-QualType 0x{{[^ ]*}} '__attribute__((address_space(3))) int' __attribute__((address_space(3))) -// CHECK-NEXT `-BuiltinType 0x{{[^ ]*}} 'int' +// CHECK-NEXT: |-BuiltinType 0x{{[^ ]*}} 'int' +// CHECK-NEXT: `-QualType 0x{{[^ ]*}} '__attribute__((address_space(3))) int' __attribute__((address_space(3))) +// CHECK-NEXT: `-BuiltinType 0x{{[^ ]*}} 'int' diff --git a/clang/test/CodeGen/constantexpr-fneg.c b/clang/test/CodeGen/constantexpr-fneg.c index fb7a3d1a695393..bd942176baed1c 100644 --- a/clang/test/CodeGen/constantexpr-fneg.c +++ b/clang/test/CodeGen/constantexpr-fneg.c @@ -4,7 +4,7 @@ // Test case for PR45426. Make sure we do not crash while writing bitcode // containing a simplify-able fneg constant expression. // -// CHECK-LABEL define i32 @main() +// CHECK-LABEL: define {{.*}}i32 @main() // CHECK: entry: // CHECK-NEXT: %retval = alloca i32 // CHECK-NEXT: store i32 0, ptr %retval `````````` </details> https://github.com/llvm/llvm-project/pull/235342 _______________________________________________ cfe-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits
