Ignore:
Timestamp:
Jan 19, 2017, 2:41:02 PM (2 years ago)
Author:
nmedfort
Message:

Code clean-up. Removed Pablo Call, SetIthBit? and Prototype.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/grep_engine.h

    r5241 r5267  
    1 #ifndef DO_GREP_H
    2 #define DO_GREP_H
    31/*
    42 *  Copyright (c) 2016 International Characters.
     
    64 *  icgrep is a trademark of International Characters.
    75 */
    8 
    9 #include <string>
    10 #include <stdint.h>
    11 #include <re/re_re.h>
    12 #include <llvm/ExecutionEngine/ExecutionEngine.h>
    13 #include <grep_type.h>
    14 
    15 
    16 namespace llvm { class raw_ostream; }
    17 
    18 
     6#ifndef DO_GREP_H
     7#define DO_GREP_H
     8#include <grep_type.h>  // for GrepType, GrepType::Normal
     9#include <string>       // for string
     10#include <vector>
     11namespace llvm { class ExecutionEngine; }
     12namespace llvm { class Module; }
     13namespace re { class CC; }
     14namespace re { class RE; }
    1915
    2016class GrepEngine {
     
    2925    void grepCodeGen(std::string moduleName, re::RE * re_ast, bool CountOnly, bool UTF_16 = false, GrepType grepType = GrepType::Normal);
    3026   
    31     void doGrep(const std::string & fileName, const int fileIdx, bool CountOnly, std::vector<size_t> &total_CountOnly, bool UTF_16);
     27    void doGrep(const std::string & fileName, const int fileIdx, bool CountOnly, std::vector<size_t> & total_CountOnly, bool UTF_16);
    3228   
    3329    re::CC *  grepCodepoints();
    34     const std::vector<std::string> & grepPropertyValues(const std::string& propertyName);
     30
     31    const std::vector<std::string> & grepPropertyValues(const std::string & propertyName);
    3532   
    3633private:
     
    4441};
    4542
    46 void icgrep_Linking(Module * m, ExecutionEngine * e);
     43void icgrep_Linking(llvm::Module * m, llvm::ExecutionEngine * e);
    4744
    4845
Note: See TracChangeset for help on using the changeset viewer.