[PATCH] [clang-tidy] Move -extra-arg handling to CommonOptionsProvider

Alexander Kornienko alexfh at google.com
Fri Oct 31 22:27:57 PDT 2014


Hi klimek, djasper,

Handle -extra-arg and -extra-arg-before options in the
CommonOptionsProvider so they can be used in all clang tools. Adjust arguments
in a CompilationDatabase wrapper instead of adding ArgumentsAdjuster to the
tool.

http://reviews.llvm.org/D6073

Files:
  include/clang/Tooling/ArgumentsAdjusters.h
  include/clang/Tooling/CommonOptionsParser.h
  lib/Tooling/ArgumentsAdjusters.cpp
  lib/Tooling/CommonOptionsParser.cpp
  tools/clang-check/ClangCheck.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6073.15667.patch
Type: text/x-patch
Size: 8706 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141101/4e1b72dc/attachment.bin>


More information about the cfe-commits mailing list