This is an archive of the discontinued LLVM Phabricator instance.

[clang-tidy] Cleanups utils files
ClosedPublic

Authored by etienneb on May 15 2016, 10:51 PM.

Details

Summary

Cleanup some code by using appropriate APIs.
Some coding style cleanups.

There is no behavior changes.

  • Function IncludeSorter::CreateFixIt can be replaced by FixItHint::CreateReplacement.
  • Function cleanPath is a wrapper for llvm::sys::path::remove_dots.

Diff Detail

Event Timeline

etienneb updated this revision to Diff 57318.May 15 2016, 10:51 PM
etienneb retitled this revision from to [clang-tidy] Cleanups utils files.
etienneb updated this object.
etienneb added a reviewer: alexfh.
etienneb added a subscriber: cfe-commits.
etienneb updated this object.May 15 2016, 10:54 PM
alexfh accepted this revision.May 16 2016, 12:30 AM
alexfh edited edge metadata.

LG

This revision is now accepted and ready to land.May 16 2016, 12:30 AM
etienneb closed this revision.May 16 2016, 7:40 AM