aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/Support/RegexTest.cpp
diff options
context:
space:
mode:
authorChris Lattner <sabre@nondot.org>2009-09-24 21:47:32 +0000
committerChris Lattner <sabre@nondot.org>2009-09-24 21:47:32 +0000
commitf08d2db928addaf435415bb49bbcdb732082023c (patch)
treed5dab0ad43d969e6872338dc1a2d63b66fc5152a /llvm/unittests/Support/RegexTest.cpp
parentabab11abb207130ef9d67326bb458c3cf195a8fc (diff)
downloadllvm-f08d2db928addaf435415bb49bbcdb732082023c.zip
llvm-f08d2db928addaf435415bb49bbcdb732082023c.tar.gz
llvm-f08d2db928addaf435415bb49bbcdb732082023c.tar.bz2
add and document regex support for FileCheck. You can now do stuff like:
; CHECK: movl {{%e[a-z][xi]}}, %eax or whatever. llvm-svn: 82717
Diffstat (limited to 'llvm/unittests/Support/RegexTest.cpp')
-rw-r--r--llvm/unittests/Support/RegexTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/unittests/Support/RegexTest.cpp b/llvm/unittests/Support/RegexTest.cpp
index b323e28..28a85a1 100644
--- a/llvm/unittests/Support/RegexTest.cpp
+++ b/llvm/unittests/Support/RegexTest.cpp
@@ -9,6 +9,7 @@
#include "gtest/gtest.h"
#include "llvm/Support/Regex.h"
+#include "llvm/ADT/SmallVector.h"
#include <cstring>
using namespace llvm;