[PATCH] cpp11-migrate: Add a class to support include directives modifications

Guillaume Papin guillaume.papin at epitech.eu
Wed Aug 14 17:09:34 PDT 2013


  Now the includes are inserted after the #define of a header guard. Also headers
  in the middle of the code should be discarded now.

    - Corrections from the review comments.
    - addAngledInclude overloadded to accept a FileEntry.
    - Handle X Macro like headers.
    - Add support for guarded headers.

Hi revane,

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

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D1287?vs=3286&id=3486#toc

Files:
  cpp11-migrate/Core/CMakeLists.txt
  cpp11-migrate/Core/IncludeDirectives.cpp
  cpp11-migrate/Core/IncludeDirectives.h
  unittests/cpp11-migrate/CMakeLists.txt
  unittests/cpp11-migrate/IncludeDirectivesTest.cpp
  unittests/cpp11-migrate/VirtualFileHelper.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D1287.3.patch
Type: text/x-patch
Size: 39822 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130814/cd5a7283/attachment.bin>


More information about the cfe-commits mailing list