Query whether a character is whitespace
| 3021 | |
| 3022 | // Query whether a character is whitespace |
| 3023 | bool isWhitespace(char ch) { |
| 3024 | return std::strchr(kWhitespaceChars, ch) != NULL; |
| 3025 | } |
| 3026 | |
| 3027 | // Remove trailing line comments -- ie, find comments that don't begin |
| 3028 | // a line, and remove them. We avoid stripping attributes. |