[PATCH] Preprocessor: preserve whitespace in -traditional-cpp mode.

Jordan Rose jordan_rose at apple.com
Thu Feb 14 15:44:52 PST 2013


  Make sure LeadingSpace stays correct in regular mode, and let it be incorrect in keep-whitespace mode.

Hi rsmith,

http://llvm-reviews.chandlerc.com/D399

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D399?vs=961&id=991#toc

Files:
  include/clang/Lex/Lexer.h
  lib/Frontend/PrintPreprocessedOutput.cpp
  lib/Lex/Lexer.cpp
  lib/Lex/PPDirectives.cpp
  test/Preprocessor/traditional-cpp.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D399.2.patch
Type: text/x-patch
Size: 9955 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130214/cd3fe751/attachment.bin>


More information about the cfe-commits mailing list