diff options
author | Raphael Isemann <teemperor@gmail.com> | 2020-08-31 11:14:09 +0200 |
---|---|---|
committer | Raphael Isemann <teemperor@gmail.com> | 2020-08-31 11:24:41 +0200 |
commit | e9a3d1a401b07cbf7b11695637f1b549782a26cd (patch) | |
tree | 2dcd01c7312e73ba33e5ef4cc48d3e0e6bb0fecc /llvm/utils/FileCheck/FileCheck.cpp | |
parent | 1c5a0cb1c3bffdae0d73acf8a23e31646b35c596 (diff) | |
download | llvm-e9a3d1a401b07cbf7b11695637f1b549782a26cd.zip llvm-e9a3d1a401b07cbf7b11695637f1b549782a26cd.tar.gz llvm-e9a3d1a401b07cbf7b11695637f1b549782a26cd.tar.bz2 |
[FileCheck] Move FileCheck implementation out of LLVMSupport into its own library
The actual FileCheck logic seems to be implemented in LLVMSupport. I don't see a
good reason for having FileCheck implemented there as it has a very specific use
while LLVMSupport is a dependency of pretty much every LLVM tool there is. In
fact, the only use of FileCheck I could find (outside the FileCheck tool and the
FileCheck unit test) is a single call in GISelMITest.h.
This moves the FileCheck logic to its own LLVMFileCheck library. This way only
FileCheck and the GlobalISelTests now have a dependency on this code.
Reviewed By: jhenderson
Differential Revision: https://reviews.llvm.org/D86344
Diffstat (limited to 'llvm/utils/FileCheck/FileCheck.cpp')
-rw-r--r-- | llvm/utils/FileCheck/FileCheck.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/utils/FileCheck/FileCheck.cpp b/llvm/utils/FileCheck/FileCheck.cpp index 81889b2..66b0a97 100644 --- a/llvm/utils/FileCheck/FileCheck.cpp +++ b/llvm/utils/FileCheck/FileCheck.cpp @@ -15,12 +15,12 @@ // //===----------------------------------------------------------------------===// +#include "llvm/FileCheck/FileCheck.h" #include "llvm/Support/CommandLine.h" #include "llvm/Support/InitLLVM.h" #include "llvm/Support/Process.h" #include "llvm/Support/WithColor.h" #include "llvm/Support/raw_ostream.h" -#include "llvm/Support/FileCheck.h" #include <cmath> using namespace llvm; |