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/re/re_alt.h

    r4852 r5267  
    99
    1010#include "re_re.h"
    11 #include "re_cc.h"
     11#include <llvm/Support/Casting.h>
    1212
    1313namespace re {
     
    3636    void flatten(iterator begin, iterator end) {
    3737        for (auto i = begin; i != end; ++i) {
    38             if (LLVM_UNLIKELY(isa<Alt>(*i))) {
    39                 flatten<Alt::iterator>(cast<Alt>(*i)->begin(), cast<Alt>(*i)->end());
     38            if (LLVM_UNLIKELY(llvm::isa<Alt>(*i))) {
     39                flatten<Alt::iterator>(llvm::cast<Alt>(*i)->begin(), llvm::cast<Alt>(*i)->end());
    4040            } else {
    4141                push_back(*i);
Note: See TracChangeset for help on using the changeset viewer.