[PATCH] D93347: [Test] Fix undef var in attr-speculative-load-hardening.c

Thomas Preud'homme via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Dec 15 15:08:52 PST 2020


thopre created this revision.
thopre added reviewers: zbrid, chandlerc, EricWF.
thopre requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Fix use of undefined variable in CHECK-NOT directive in clang test
CodeGen/attr-speculative-load-hardening.c.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D93347

Files:
  clang/test/CodeGen/attr-speculative-load-hardening.c


Index: clang/test/CodeGen/attr-speculative-load-hardening.c
===================================================================
--- clang/test/CodeGen/attr-speculative-load-hardening.c
+++ clang/test/CodeGen/attr-speculative-load-hardening.c
@@ -12,4 +12,4 @@
 
 // NOSLH: @{{.*}}test1{{.*}}[[NOSLH:#[0-9]+]]
 
-// NOSLH-NOT: attributes [[SLH]] = { {{.*}}speculative_load_hardening{{.*}} }
+// NOSLH-NOT: attributes [[NOSLH]] = { {{.*}}speculative_load_hardening{{.*}} }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D93347.312049.patch
Type: text/x-patch
Size: 471 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201215/323d6308/attachment.bin>


More information about the cfe-commits mailing list