diff options
| author | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-14 00:16:05 +0000 |
|---|---|---|
| committer | Richard Smith <richard-llvm@metafoo.co.uk> | 2015-08-14 00:16:05 +0000 |
| commit | 34fa813d9b972ad2743b36e0840b031138b8657d (patch) | |
| tree | fc8558d2933ce4478a3a8e7fe6749d5c1242dcd7 /clang | |
| parent | 92551616656d77fb0cb54e2fb576f6aa0551588e (diff) | |
| download | bcm5719-llvm-34fa813d9b972ad2743b36e0840b031138b8657d.tar.gz bcm5719-llvm-34fa813d9b972ad2743b36e0840b031138b8657d.zip | |
This test was still failing for me after r244925, fix it harder.
llvm-svn: 244991
Diffstat (limited to 'clang')
| -rw-r--r-- | clang/test/CodeGenCXX/new.cpp | 9 |
1 files changed, 3 insertions, 6 deletions
diff --git a/clang/test/CodeGenCXX/new.cpp b/clang/test/CodeGenCXX/new.cpp index 6ea5af37bb5..6d6f7013861 100644 --- a/clang/test/CodeGenCXX/new.cpp +++ b/clang/test/CodeGenCXX/new.cpp @@ -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])*$}} |

