[PATCH] D34440: [Clang] Expand response files before loading compilation database
Manuel Klimek via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jul 14 05:40:54 PDT 2017
klimek added a comment.
In https://reviews.llvm.org/D34440#809325, @vladimir.plyashkun wrote:
> Even if i'll change content of //arguments.rsp// to
> `-std=c++11 -Ipath/to/include -Ipath/to/include2 -DMACRO ....`
> and will try to call clang-tidy process in this way:
> `clang-tidy -checks=* main.cpp -export-fixes=... -- @arguments.rsp`
> it also has no effect, because all compiler options will be ignored (i thinks it's because that //stripPositionalArgs()// function deletes @arguments.rsp parameter as unused input).
Ah, ok: this is definitely the way it should work (adding the response file after the --). I think this is the use case we should fix - probably by fixing stripPositionalArgs?
Repository:
rL LLVM
https://reviews.llvm.org/D34440
More information about the cfe-commits
mailing list