We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 98fa0f6 commit bbca20fCopy full SHA for bbca20f
clang/include/clang/Basic/CharInfo.h
@@ -151,8 +151,7 @@ LLVM_READONLY inline bool isHexDigit(unsigned char c) {
151
/// Note that '_' is both a punctuation character and an identifier character!
152
LLVM_READONLY inline bool isPunctuation(unsigned char c) {
153
using namespace charinfo;
154
- return (InfoTable[c] &
155
- (CHAR_UNDER | CHAR_PERIOD | CHAR_PUNCT | CHAR_PUNCT)) != 0;
+ return (InfoTable[c] & (CHAR_UNDER | CHAR_PERIOD | CHAR_PUNCT)) != 0;
156
}
157
158
/// Return true if this character is an ASCII printable character; that is, a
0 commit comments