aboutsummaryrefslogtreecommitdiffstats
path: root/cgrep.cpp
diff options
context:
space:
mode:
authorbloodstalker <thabogre@gmail.com>2019-11-29 10:48:35 +0000
committerbloodstalker <thabogre@gmail.com>2019-11-29 10:48:35 +0000
commitcce8d6a9d7a05dd13a5b7295492316a91ee62a38 (patch)
tree93b8a06f8192e18ce4d5e6d26d30545ce29837fa /cgrep.cpp
parentadded a gitter chatroom for mutator tools (diff)
downloadcgrep-cce8d6a9d7a05dd13a5b7295492316a91ee62a38.tar.gz
cgrep-cce8d6a9d7a05dd13a5b7295492316a91ee62a38.zip
removing filesystem for the time being. ill have to find another solution...
Diffstat (limited to 'cgrep.cpp')
-rw-r--r--cgrep.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/cgrep.cpp b/cgrep.cpp
index fdf0323..12d667a 100644
--- a/cgrep.cpp
+++ b/cgrep.cpp
@@ -124,6 +124,7 @@ cl::opt<int> CO_B(
*
* @param path
*/
+#if 0
static void dig(std::string path) {
for (const auto &entry : std::filesystem::directory_iterator(path)) {
std::cout << entry.path() << "\n";
@@ -132,6 +133,7 @@ static void dig(std::string path) {
}
}
}
+#endif
/**
* @brief does some preprocessing on the regex string we get as input
@@ -784,9 +786,11 @@ int main(int argc, const char **argv) {
op.getSourcePathList();
ClangTool Tool(op.getCompilations(), op.getSourcePathList());
int ret = Tool.run(newFrontendActionFactory<AppFrontendAction>().get());
+#if 0
if ("" != CO_RECURSIVE) {
dig(CO_RECURSIVE);
}
+#endif
return ret;
}
/*************************************************************************************************/