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

Thomas Preud'homme via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sat Apr 3 06:54:45 PDT 2021


thopre created this revision.
thopre added reviewers: rsmith, EricWF, akhuang.
thopre requested review of this revision.
Herald added a project: clang.

Commit f495de43bd5da50286da6020e508d106cfc60f57 <https://reviews.llvm.org/rGf495de43bd5da50286da6020e508d106cfc60f57> forgot two lines when
removing checks for strong and weak equality, resulting in the use of an
undefined FileCheck variable.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D99838

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


Index: clang/test/CodeGenCXX/cxx2a-compare.cpp
===================================================================
--- clang/test/CodeGenCXX/cxx2a-compare.cpp
+++ 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


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D99838.335087.patch
Type: text/x-patch
Size: 494 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210403/c1b7fcbf/attachment.bin>


More information about the cfe-commits mailing list