[PATCH] Ignore contents of #if 0 blocks.

Alexander Kornienko alexfh at google.com
Thu May 23 14:04:18 PDT 2013


Hi klimek, djasper,

Added stack of preprocessor branching directives, and ignore all tokens
inside #if 0 except for preprocessor directives.

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

Files:
  lib/Format/UnwrappedLineParser.cpp
  lib/Format/UnwrappedLineParser.h
  unittests/Format/FormatTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D855.1.patch
Type: text/x-patch
Size: 7826 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130523/b09a825d/attachment.bin>


More information about the cfe-commits mailing list