This is an archive of the discontinued LLVM Phabricator instance.

[tooling] Add a new argument adjuster for deleting plugin related command line args
ClosedPublic

Authored by kadircet on Jan 17 2019, 7:50 AM.

Diff Detail

Event Timeline

kadircet created this revision.Jan 17 2019, 7:50 AM
ilya-biryukov added inline comments.Jan 17 2019, 8:47 AM
include/clang/Tooling/ArgumentsAdjusters.h
69

Maybe put the function before combineAdjusters?
The latter is a function that works on two adjusters, therefore a bit different from the rest, which are adjusters themselves.

71

Maybe drop "clang" from the name? `getStripPluginsAdjuster()?

lib/Tooling/ArgumentsAdjusters.cpp
111

remove the comment? we already have one in the header

Just a few NITs from my side, LG when fixed.

ilya-biryukov accepted this revision.Jan 17 2019, 9:36 AM

LGTM after the nits are fixed

This revision is now accepted and ready to land.Jan 17 2019, 9:36 AM
kadircet updated this revision to Diff 182469.Jan 18 2019, 1:02 AM
  • Address comments
kadircet marked 3 inline comments as done.Jan 18 2019, 1:03 AM
This revision was automatically updated to reflect the committed changes.