Ignore:
Timestamp:
Jul 3, 2015, 4:48:07 PM (4 years ago)
Author:
nmedfort
Message:

Minor modifications

File:
1 edited

Legend:

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

    r4631 r4638  
    3838static cl::opt<bool> DisableUnicodeLineBreak("disable-unicode-linebreak", cl::init(false),
    3939                     cl::desc("disable Unicode line breaks - use LF only"), cl::cat(fREcompilationOptions));
    40 static cl::opt<bool> DisablePregeneratedUnicode("disable-pregenerated-unicode", cl::init(false),
     40static cl::opt<bool> DisablePregeneratedUnicode("disable-pregenerated-unicode", cl::init(true),
    4141                     cl::desc("disable use of pregenerated Unicode character class sets"), cl::cat(fREcompilationOptions));
    4242
     
    4545namespace re {
    4646
    47 bool IsPregeneratedUnicodeEnabled() {
     47bool UsePregeneratedUnicode() {
    4848    return !DisablePregeneratedUnicode;
    4949}
     
    271271    }
    272272    else if (name->getType() == Name::Type::UnicodeProperty) {
    273         if (IsPregeneratedUnicodeEnabled()) {
     273        if (UsePregeneratedUnicode()) {
    274274            var = mPB.createCall(name->getName());
    275275        }
Note: See TracChangeset for help on using the changeset viewer.