[PATCH] D143734: [NFC][clang][Modules] Refine test checks by adding `:`

Mariya Podchishchaeva via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Feb 21 07:18:35 PST 2023


This revision was landed with ongoing or failed builds.
This revision was automatically updated to reflect the committed changes.
Closed by commit rG440f45acff1c: [NFC][clang][Modules] Refine test checks by adding `:` (authored by Fznamznon).

Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D143734/new/

https://reviews.llvm.org/D143734

Files:
  clang/test/Modules/libstdcxx-ambiguous-internal.cpp


Index: clang/test/Modules/libstdcxx-ambiguous-internal.cpp
===================================================================
--- clang/test/Modules/libstdcxx-ambiguous-internal.cpp
+++ clang/test/Modules/libstdcxx-ambiguous-internal.cpp
@@ -2,12 +2,12 @@
 // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -emit-module -fmodule-name=std -fmodules-cache-path=%t %S/Inputs/libstdcxx-ambiguous-internal/module.modulemap -Werror
 // RUN: %clang_cc1 -x c++ -std=c++11 -fmodules -emit-module -fmodule-name=std -fmodules-cache-path=%t %S/Inputs/libstdcxx-ambiguous-internal/module.modulemap -fmodules-local-submodule-visibility -DAMBIGUOUS 2>&1| FileCheck %s
 
-// CHECK-NOT: error
+// CHECK-NOT: error:
 // CHECK: warning: ambiguous use of internal linkage declaration 'f' defined in multiple modules
 // CHECK: note: declared here in module 'std.C'
 // CHECK: note: declared here in module 'std.B'
-// CHECK-NOT: error
+// CHECK-NOT: error:
 // CHECK: warning: ambiguous use of internal linkage declaration 'n' defined in multiple modules
 // CHECK: note: declared here in module 'std.C'
 // CHECK: note: declared here in module 'std.B'
-// CHECK-NOT: error
+// CHECK-NOT: error:


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D143734.499166.patch
Type: text/x-patch
Size: 1174 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230221/c8a4379b/attachment.bin>


More information about the cfe-commits mailing list