clang-format's cleanupAroundReplacements() takes care of header insertions.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
include-fixer/IncludeFixer.cpp | ||
---|---|---|
29 ↗ | (On Diff #59067) | The forward declaration can be removed too. |
Paths
| Differential D20816
[include-fixer] use clang-format cleaner to insert header. ClosedPublic Authored by ioeric on May 31 2016, 7:40 AM.
Details Summary clang-format's cleanupAroundReplacements() takes care of header insertions.
Diff Detail
Event Timelineioeric updated this object. bkramer edited edge metadata. Comment ActionsLook at all this annoying preprocessor code going away! I love it. This revision is now accepted and ready to land.May 31 2016, 7:51 AM Closed by commit rL271287: [include-fixer] use clang-format cleaner to insert header. (authored by ioeric). · Explain WhyMay 31 2016, 7:55 AM This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 59069 clang-tools-extra/trunk/include-fixer/IncludeFixer.h
clang-tools-extra/trunk/include-fixer/IncludeFixer.cpp
clang-tools-extra/trunk/include-fixer/IncludeFixerContext.h
clang-tools-extra/trunk/include-fixer/tool/ClangIncludeFixer.cpp
clang-tools-extra/trunk/unittests/include-fixer/IncludeFixerTest.cpp
|