summaryrefslogtreecommitdiff
path: root/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
commit528700863adefca8de461ce28a7d903729fb96b4 (patch)
tree904a28d55c7039cefe27a789ca9d4c6465dd6e7e /unittests/Support/RegexTest.cpp
parentfe03dbeaa30187a75548d891cbe3f5cc97e73713 (diff)
downloadllvm-528700863adefca8de461ce28a7d903729fb96b4.tar.gz
llvm-528700863adefca8de461ce28a7d903729fb96b4.tar.bz2
llvm-528700863adefca8de461ce28a7d903729fb96b4.tar.xz
add and document regex support for FileCheck. You can now do stuff like:
; CHECK: movl {{%e[a-z][xi]}}, %eax or whatever. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@82717 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'unittests/Support/RegexTest.cpp')
-rw-r--r--unittests/Support/RegexTest.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/unittests/Support/RegexTest.cpp b/unittests/Support/RegexTest.cpp
index b323e284bc..28a85a1586 100644
--- a/unittests/Support/RegexTest.cpp
+++ b/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;