Move -add-plugin validation after -load was executed.
authorNico Weber <nicolasweber@gmx.de>
Sat, 5 Jan 2019 01:10:20 +0000 (01:10 +0000)
committerNico Weber <nicolasweber@gmx.de>
Sat, 5 Jan 2019 01:10:20 +0000 (01:10 +0000)
commit9f0c21c1e0e3bc9fc3b8a1f785db8440146a891c
treefb00deb15429c642644d65116b948b55f06d0f92
parente6ed8540c5896c54f1ec1f9130af922e15362b93
Move -add-plugin validation after -load was executed.

Moves the code added in r350340 around a bit, to hopefully make the existing
plugin tests pass when clang is built with examples enabled.

llvm-svn: 350451
clang/lib/Frontend/CompilerInvocation.cpp
clang/lib/Frontend/FrontendAction.cpp