[PATCH] Change semantics of regex expectations in the diagnostic verifier

Dmitri Gribenko gribozavr at gmail.com
Wed Dec 11 13:22:01 PST 2013



================
Comment at: test/Sema/thread-specifier.c:24
@@ -23,3 +23,3 @@
 #ifdef __cplusplus
-// expected-error-re at -2 {{'(__thread|_Thread_local|thread_local)' is only allowed on variable declarations}}
+// expected-error-re at -2 {{'{{(__thread|_Thread_local|thread_local)}}' is only allowed on variable declarations}}
 #else
----------------
Parens are probably not needed anymore (here and in other similar places).  If they are needed, I would actually expect them to be added internally automatically.


http://llvm-reviews.chandlerc.com/D2388



More information about the cfe-commits mailing list