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_seq.h

    r5197 r5267  
    99
    1010#include "re_re.h"
    11 #include <string>
    12 #include <initializer_list>
     11#include <llvm/Support/Casting.h>
    1312
    1413namespace re {
     
    4443void Seq::flatten(itr begin, itr end) {
    4544    for (auto i = begin; i != end; ++i) {
    46         if (LLVM_UNLIKELY(isa<Seq>(*i))) {
    47             flatten<Seq::iterator>(cast<Seq>(*i)->begin(), cast<Seq>(*i)->end());
     45        if (LLVM_UNLIKELY(llvm::isa<Seq>(*i))) {
     46            flatten<Seq::iterator>(llvm::cast<Seq>(*i)->begin(), llvm::cast<Seq>(*i)->end());
    4847        } else {
    4948            push_back(*i);
Note: See TracChangeset for help on using the changeset viewer.