]> granicus.if.org Git - clang/commit
Validate -add-plugin arguments.
authorNico Weber <nicolasweber@gmx.de>
Thu, 3 Jan 2019 18:26:06 +0000 (18:26 +0000)
committerNico Weber <nicolasweber@gmx.de>
Thu, 3 Jan 2019 18:26:06 +0000 (18:26 +0000)
commit5f2efcd632af7e02e05ec9473f3875caf449ecd5
tree84a29fc881e5bd16bf708aade88cc6b4feaa94e3
parenta11ecd118716ebfbbcf77a48fffe7fa7bddad738
Validate -add-plugin arguments.

-plugin already prints an error if the name of an unknown plugin is passed.
-add-plugin used to silently ignore that, now it errors too.

Differential Revision: https://reviews.llvm.org/D56273

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@350340 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Frontend/CompilerInvocation.cpp
test/Frontend/plugin-unknown.c [new file with mode: 0644]