r244991 - This test was still failing for me after r244925, fix it harder.
Richard Smith via cfe-commits
cfe-commits at lists.llvm.org
Thu Aug 13 17:16:06 PDT 2015
Author: rsmith
Date: Thu Aug 13 19:16:05 2015
New Revision: 244991
URL: http://llvm.org/viewvc/llvm-project?rev=244991&view=rev
Log:
This test was still failing for me after r244925, fix it harder.
Modified:
cfe/trunk/test/CodeGenCXX/new.cpp
Modified: cfe/trunk/test/CodeGenCXX/new.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/test/CodeGenCXX/new.cpp?rev=244991&r1=244990&r2=244991&view=diff
==============================================================================
--- cfe/trunk/test/CodeGenCXX/new.cpp (original)
+++ cfe/trunk/test/CodeGenCXX/new.cpp Thu Aug 13 19:16:05 2015
@@ -374,9 +374,6 @@ namespace builtins {
// CHECK-DAG: attributes [[ATTR_BUILTIN_NEW]] = {{[{].*}} builtin {{.*[}]}}
// CHECK-DAG: attributes [[ATTR_BUILTIN_DELETE]] = {{[{].*}} builtin {{.*[}]}}
-// CHECK: attributes [[ATTR_NOUNWIND]] =
-// CHECK-NOT: builtin
-// CHECK-NOT: attributes
-// CHECK: nounwind
-// CHECK-NOT: builtin
-// CHECK-NOT: attributes
+// The ([^b}|...) monstrosity is matching a character that's not the start of 'builtin'.
+// Add more letters if this matches some other attribute.
+// CHECK-DAG: attributes [[ATTR_NOUNWIND]] = {{([^b]|b[^u]|bu[^i]|bui[^l])*}} nounwind {{([^b]|b[^u]|bu[^i]|bui[^l])*$}}
More information about the cfe-commits
mailing list