[PATCH] Pull Lexer's CharInfo table out for general use throughout Clang

Richard Smith richard at metafoo.co.uk
Tue Feb 5 19:25:05 PST 2013

Comment at: include/clang/Basic/CharInfo.h:29
@@ +28,3 @@
+/// Returns true if this is an ASCII character.
+static inline bool isASCII(char c) {
Do these attributes make a measurable difference? 'static inline' is already a pretty big hint to inline, especially for a single-call-site function.


More information about the cfe-commits mailing list