diff options
author | bloodstalker <thabogre@gmail.com> | 2020-04-30 15:02:01 +0000 |
---|---|---|
committer | bloodstalker <thabogre@gmail.com> | 2020-04-30 15:02:01 +0000 |
commit | a2ccebe27554d196fbcadf4fd230fb1b4b14090a (patch) | |
tree | ab77721e278cb6c903da0c1518279b9fe140fee6 /cgrep.cpp | |
parent | work in progress (diff) | |
download | cgrep-a2ccebe27554d196fbcadf4fd230fb1b4b14090a.tar.gz cgrep-a2ccebe27554d196fbcadf4fd230fb1b4b14090a.zip |
working on the test script
Diffstat (limited to 'cgrep.cpp')
-rw-r--r-- | cgrep.cpp | 24 |
1 files changed, 2 insertions, 22 deletions
@@ -7,27 +7,7 @@ * */ /***********************************************************************************************/ /*included modules*/ -#include "./cfe-extra/cfe_extra.h" -#include "clang/AST/AST.h" -#include "clang/AST/ASTConsumer.h" -#include "clang/ASTMatchers/ASTMatchFinder.h" -#include "clang/ASTMatchers/ASTMatchers.h" -#include "clang/Basic/LLVM.h" -#include "clang/Frontend/CompilerInstance.h" -#include "clang/Frontend/FrontendActions.h" -#include "clang/Lex/Lexer.h" -#include "clang/Rewrite/Core/Rewriter.h" -#include "clang/Tooling/CommonOptionsParser.h" -#include "clang/Tooling/Tooling.h" -#include "llvm/Support/raw_ostream.h" -#include <cassert> -#include <cstdlib> -#include <dirent.h> -#include <fstream> -#include <iostream> -#include <regex> -#include <string> -#include <vector> +#include "pch.hpp" /***********************************************************************************************/ /*used namespaces*/ using namespace llvm; @@ -209,7 +189,7 @@ static std::string get_line_from_file(SourceManager &SM, */ std::string regex_preprocessor(const std::string &rx_str) { std::string ret_rx_str; - return ret_rx_str; + return rx_str; } bool regex_handler(std::string rx_str, std::string identifier_name) { |