Ignore:
Timestamp:
Oct 16, 2018, 2:29:44 PM (7 months ago)
Author:
nmedfort
Message:

Added RE_Inspector.

Migrated RE passes to RE_Transformer.

Incorporated Memoizer functionality into RE_Transformer/Inspector.

Removed Memoizer.

Bug fix for unicode_set.

File:
1 edited

Legend:

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

    r5896 r6173  
    1616#include <re/printer_re.h>
    1717#include <re/re_name_resolve.h>
     18
    1819#include <vector>                  // for vector, allocator
    1920#include <llvm/Support/Casting.h>  // for dyn_cast, isa
    2021#include <llvm/Support/ErrorHandling.h>
    2122#include <llvm/Support/raw_ostream.h>
     23
    2224
    2325/*
     
    3537namespace re {
    3638bool hasGraphemeClusterBoundary(const RE * re) {
    37     if (isa<CC>(re)) {
     39    if (isa<CC>(re) || isa<Range>(re)) {
    3840        return false;
    3941    } else if (const Name * n = dyn_cast<Name>(re)) {
     
    6971    else llvm_unreachable("Unknown RE type");
    7072}
    71    
     73
    7274RE * resolveGraphemeMode(RE * re, bool inGraphemeMode) {
    7375    if (isa<Name>(re)) {
Note: See TracChangeset for help on using the changeset viewer.