Changeset 5181


Ignore:
Timestamp:
Oct 4, 2016, 9:58:54 PM (12 months ago)
Author:
xwa163
Message:

fix undefined vtable caused by llvm O3 optimization for inline function

Location:
icGREP/icgrep-devel/icgrep/re
Files:
4 edited

Legend:

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

    r5180 r5181  
    940940}
    941941
    942 inline Name * RE_Parser::createCC(const codepoint_t cp) {
     942Name * RE_Parser::createCC(const codepoint_t cp) {
    943943    CC * cc = nullptr;
    944944    if (fModeFlagSet & CASE_INSENSITIVE_MODE_FLAG) {
  • icGREP/icgrep-devel/icgrep/re/re_parser_bre.cpp

    r5180 r5181  
    2020                                         bit3C('B') | bit3C('P') | bit3C('Q') | bit3C('W') | bit3C('S') | bit3C('N') | bit3C('X');
    2121
    22     inline bool RE_Parser_BRE::isSetEscapeChar(char c) {
     22    bool RE_Parser_BRE::isSetEscapeChar(char c) {
    2323        return c >= 0x3C && c <= 0x7B && ((setEscapeCharacters >> (c - 0x3C)) & 1) == 1;
    2424    }
  • icGREP/icgrep-devel/icgrep/re/re_parser_ere.cpp

    r5180 r5181  
    1414                                         bit3C('B') | bit3C('P') | bit3C('Q') | bit3C('W') | bit3C('S') | bit3C('N') | bit3C('X');
    1515
    16     inline bool RE_Parser_ERE::isSetEscapeChar(char c) {
     16    bool RE_Parser_ERE::isSetEscapeChar(char c) {
    1717        return c >= 0x3C && c <= 0x7B && ((setEscapeCharacters >> (c - 0x3C)) & 1) == 1;
    1818    }
  • icGREP/icgrep-devel/icgrep/re/re_parser_pcre.cpp

    r5180 r5181  
    1919                                         bit3C('P') | bit3C('Q') | bit3C('D') | bit3C('W') | bit3C('S') | bit3C('N') | bit3C('X');
    2020
    21     inline bool RE_Parser_PCRE::isSetEscapeChar(char c) {
     21    bool RE_Parser_PCRE::isSetEscapeChar(char c) {
    2222        return c >= 0x3C && c <= 0x7B && ((setEscapeCharacters >> (c - 0x3C)) & 1) == 1;
    2323    }
Note: See TracChangeset for help on using the changeset viewer.