[PATCH] D19314: [include-fixer] Add a prototype for a new include fixing tool.

Benjamin Kramer via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 20 04:38:04 PDT 2016


bkramer updated this revision to Diff 54342.
bkramer added a comment.

- FixedXrefsDB -> FakeXrefsDB
- FakeXrefsDB is now configurable
- Cosmetic & comment fixes.
- Moved query to private methods.
- Always insert new includes at the top, let clang-format sort out the rest (not yet implemented in the tool, pending fixReplacements)
- Don't take ownership of XrefsDB


http://reviews.llvm.org/D19314

Files:
  CMakeLists.txt
  include-fixer/CMakeLists.txt
  include-fixer/FakeXrefsDB.cpp
  include-fixer/FakeXrefsDB.h
  include-fixer/IncludeFixer.cpp
  include-fixer/IncludeFixer.h
  include-fixer/XrefsDB.h
  include-fixer/tool/CMakeLists.txt
  include-fixer/tool/ClangIncludeFixer.cpp
  unittests/CMakeLists.txt
  unittests/include-fixer/CMakeLists.txt
  unittests/include-fixer/IncludeFixerTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D19314.54342.patch
Type: text/x-patch
Size: 26092 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160420/fbfb570c/attachment-0001.bin>


More information about the cfe-commits mailing list