[llvm] r197870 - Relax tab check into a whitespace check to fix the test in r197869

Alp Toker alp at nuanti.com
Sat Dec 21 11:11:31 PST 2013


Author: alp
Date: Sat Dec 21 13:11:31 2013
New Revision: 197870

URL: http://llvm.org/viewvc/llvm-project?rev=197870&view=rev
Log:
Relax tab check into a whitespace check to fix the test in r197869

Modified:
    llvm/trunk/test/TableGen/ValidIdentifiers.td

Modified: llvm/trunk/test/TableGen/ValidIdentifiers.td
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/TableGen/ValidIdentifiers.td?rev=197870&r1=197869&r2=197870&view=diff
==============================================================================
--- llvm/trunk/test/TableGen/ValidIdentifiers.td (original)
+++ llvm/trunk/test/TableGen/ValidIdentifiers.td Sat Dec 21 13:11:31 2013
@@ -1,5 +1,5 @@
 // Ensure that anonymous names are valid identifiers via the ctags index
-// RUN: llvm-tblgen -gen-ctags %s | grep -v '^!' | not grep -viE '^[a-z_][a-z0-9_]*\t'
+// RUN: llvm-tblgen -gen-ctags %s | grep -v '^!' | not grep -viE '^[a-z_][a-z0-9_]*\s'
 // Test validation
 // RUN: llvm-tblgen -gen-ctags %s | grep '^anonymous' > /dev/null
 // XFAIL: vg_leak





More information about the llvm-commits mailing list