[PATCH] [extra] pptrace - preprocessor tracing and testing tool

John Thompson john.thompson.jtsoftware at gmail.com
Wed Oct 30 09:17:24 PDT 2013


  I made one more change to the macro args formatting, as it could produce output with YAML symbols that will confuse a YAML parser.  I have it print tokens that are not identifiers or numbers by the results of their getName() call value, enclosed in '<' and '>'.

  I ran pp-trace over a full set of platform headers, including running yaml-bench over the output to check for valid YAML, with no errors.

  Though I still need to write tests for all the callback types, and user documentation, I think it might be ready for an initial checkin.

  -John

Hi silvas, kimgr,

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2020?vs=5256&id=5263#toc

Files:
  test/pp-trace/Input/Level1A.h
  test/pp-trace/Input/Level1B.h
  test/pp-trace/Input/Level2A.h
  test/pp-trace/pp-trace-macro.cpp
  test/pp-trace/pp-trace-include.cpp
  pp-trace/PPTrace.cpp
  pp-trace/PPCallbacksTracker.h
  pp-trace/PPCallbacksTracker.cpp
  pp-trace/CMakeLists.txt
  pp-trace/Makefile
  CMakeLists.txt
  Makefile
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2020.7.patch
Type: text/x-patch
Size: 57002 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131030/4b1a0763/attachment.bin>


More information about the cfe-commits mailing list