Ignore:
Timestamp:
Oct 10, 2016, 2:53:36 PM (3 years ago)
Author:
faldebey
Message:

LLVM-3.6 Support

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/icgrep.cpp

    r5180 r5186  
    1010#include <llvm/Support/ErrorHandling.h>
    1111#include <llvm/Support/Signals.h>
     12#include <llvm/Config/config.h>
    1213#include <re/re_alt.h>
    1314#include <re/re_parser.h>
     
    321322int main(int argc, char *argv[]) {
    322323    llvm::install_fatal_error_handler(&icgrep_error_handler);
     324#if LLVM_VERSION_MINOR > 6
    323325    cl::HideUnrelatedOptions(ArrayRef<const cl::OptionCategory *>{&LegacyGrepOptions, &EnhancedGrepOptions, re::re_toolchain_flags(), pablo::pablo_toolchain_flags(), codegen::codegen_flags()});
     326#endif
    324327    cl::ParseCommandLineOptions(argc, argv);
    325328#ifdef FUTURE
Note: See TracChangeset for help on using the changeset viewer.