Ignore:
Timestamp:
Dec 12, 2018, 9:17:18 AM (5 months ago)
Author:
cameron
Message:

Contextual assertion simplifier from Jeremy Schwartz - initial check-in

File:
1 edited

Legend:

Unmodified
Added
Removed
  • icGREP/icgrep-devel/icgrep/re/re_alt.h

    r6195 r6223  
    119119}
    120120
    121 inline RE * makeAlt(RE::InitializerList list) {
     121inline RE * makeAlt(std::initializer_list<RE *> list) {
    122122    return makeAlt(list.begin(), list.end());
    123123}
    124124
    125 // An Alt with no members represent the empty set.
    126 inline bool isEmptySet(RE * r) {
    127     return llvm::isa<Alt>(r) && llvm::cast<Alt>(r)->empty();
    128 }
    129125}
    130126
Note: See TracChangeset for help on using the changeset viewer.