Refactor FileCheck to make it usable as an API
authorAditya Nandakumar <aditya_nandakumar@apple.com>
Tue, 7 Aug 2018 21:58:49 +0000 (21:58 +0000)
committerAditya Nandakumar <aditya_nandakumar@apple.com>
Tue, 7 Aug 2018 21:58:49 +0000 (21:58 +0000)
commitffa9d2e4042f50c7f75ac0948a35d7e7c10e9932
tree2f2f7eaad88a70cd8347547a80dc07ec8aba7670
parentb9cc1fcf6bf2c8fdade9d8b304e049cedc56741d
Refactor FileCheck to make it usable as an API

https://reviews.llvm.org/D50283
reviewed by bogner

This patch refactors FileCheck's implementation into support so it can
be used from C++ in other places (Unit tests).

llvm-svn: 339192
llvm/include/llvm/Support/FileCheck.h [new file with mode: 0644]
llvm/lib/Support/CMakeLists.txt
llvm/lib/Support/FileCheck.cpp [new file with mode: 0644]
llvm/utils/FileCheck/FileCheck.cpp