Skip to content

Commit

Permalink
rename is_mangle_char_posix to is_mangle_char_itanium
Browse files Browse the repository at this point in the history
No behavior change.
  • Loading branch information
nico committed Sep 3, 2019
1 parent f1a071e commit 9dc8887
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions demumble.cc
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ static void print_demangled(const char* format, const char* s) {
}
}

static bool is_mangle_char_posix(char c) {
static bool is_mangle_char_itanium(char c) {
return (c >= 'a' && c <= 'z') || (c >= 'A' && c <= 'Z') ||
(c >= '0' && c <= '9') || c == '_' || c == '$';
}
Expand Down Expand Up @@ -116,7 +116,7 @@ int main(int argc, char* argv[]) {
while (cur + n_sym != end && is_mangle_char_win(cur[n_sym]))
++n_sym;
else if (is_plausible_itanium_prefix(cur))
while (cur + n_sym != end && is_mangle_char_posix(cur[n_sym]))
while (cur + n_sym != end && is_mangle_char_itanium(cur[n_sym]))
++n_sym;
else {
if (print_mode == kPrintAll)
Expand Down

0 comments on commit 9dc8887

Please sign in to comment.