Ignore:
Timestamp:
Nov 12, 2017, 12:34:46 PM (19 months ago)
Author:
cameron
Message:

Some changes for LLVM 6.0.0

File:
1 edited

Legend:

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

    r5732 r5734  
    11/*
    2  *  Copyright (c) 2016 International Characters.
     2 *  Copyright (c) 2017 International Characters.
    33 *  This software is licensed to the public under the Open Software License 3.0.
    44 *  icgrep is a trademark of International Characters.
     
    185185
    186186}
    187 
     187#if LLVM_VERSION_INTEGER < LLVM_6_0_0
    188188void printParabixVersion () {
    189189    outs() << "Unicode version " << UCD::UnicodeVersion << "\n";
    190190    outs() << "Parabix (http://parabix.costar.sfu.ca/):\n  " << "Parabix revision " << PARABIX_VERSION << "\n";
    191191}
     192#else
     193void printParabixVersion (raw_ostream & outs) {
     194    outs << "Unicode version " << UCD::UnicodeVersion << "\n";
     195    outs << "Parabix (http://parabix.costar.sfu.ca/):\n  " << "Parabix revision " << PARABIX_VERSION << "\n";
     196}
     197#endif
    192198
    193199void AddParabixVersionPrinter() {
Note: See TracChangeset for help on using the changeset viewer.