[PATCH] D19843: Use the name of the file on disk to issue a new diagnostic about non-portable #include and #import paths.

Eric Niebler via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 8 15:41:15 PDT 2016


eric_niebler added inline comments.

================
Comment at: lib/Lex/PPDirectives.cpp:220
@@ +219,3 @@
+    // In the ASCII range?
+    if (Ch < 0 || Ch > 0xff)
+      return false; // Can't be a standard header
----------------
rsmith wrote:
> Comment doesn't match code: the ASCII range ends at 0x7F.
This should be `0x7F`. I'll fix it.


http://reviews.llvm.org/D19843





More information about the cfe-commits mailing list