[PATCH] D12017: Fix IncludeInserter/IncludeSorter bug.

Angel Garcia via cfe-commits cfe-commits at lists.llvm.org
Thu Aug 13 10:52:18 PDT 2015


angelgarcia created this revision.
angelgarcia added a reviewer: alexfh.
angelgarcia added subscribers: cfe-commits, klimek.
angelgarcia changed the visibility of this Differential Revision from "Public (No Login Required)" to "All Users".

If there weren't any includes in the file, or all of them had 'IncludeKind' greater than the desired one, then 'CreateIncludeInsertion' didn't work.

http://reviews.llvm.org/D12017

Files:
  clang-tidy/IncludeInserter.cpp
  clang-tidy/IncludeSorter.cpp
  clang-tidy/IncludeSorter.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D12017.32079.patch
Type: text/x-patch
Size: 5982 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150813/b3e64eca/attachment.bin>


More information about the cfe-commits mailing list