[clang] 1cc9d94 - [C++20, test] Fix use of undef FileCheck variable

Thomas Preud'homme via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 3 16:05:47 PDT 2021


Author: Thomas Preud'homme
Date: 2021-04-04T00:05:48+01:00
New Revision: 1cc9d949a1233e8b17b3b345ccb67ca7296c1a6c

URL: https://github.com/llvm/llvm-project/commit/1cc9d949a1233e8b17b3b345ccb67ca7296c1a6c
DIFF: https://github.com/llvm/llvm-project/commit/1cc9d949a1233e8b17b3b345ccb67ca7296c1a6c.diff

LOG: [C++20, test] Fix use of undef FileCheck variable

Commit f495de43bd5da50286da6020e508d106cfc60f57 forgot two lines when
removing checks for strong and weak equality, resulting in the use of an
undefined FileCheck variable.

Reviewed By: Quuxplusone

Differential Revision: https://reviews.llvm.org/D99838

Added: 
    

Modified: 
    clang/test/CodeGenCXX/cxx2a-compare.cpp

Removed: 
    


################################################################################
diff  --git a/clang/test/CodeGenCXX/cxx2a-compare.cpp b/clang/test/CodeGenCXX/cxx2a-compare.cpp
index 262fead875797..48ce956d9d402 100644
--- a/clang/test/CodeGenCXX/cxx2a-compare.cpp
+++ b/clang/test/CodeGenCXX/cxx2a-compare.cpp
@@ -9,8 +9,6 @@
 // Ensure we don't emit definitions for the global variables
 // since the builtins shouldn't ODR use them.
 // CHECK-NOT: constant %[[SO]]
-// CHECK-NOT: constant %[[SE]]
-// CHECK-NOT: constant %[[WE]]
 // CHECK-NOT: constant %[[PO]]
 
 // CHECK-LABEL: @_Z11test_signedii


        


More information about the cfe-commits mailing list