aboutsummaryrefslogtreecommitdiff
path: root/clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
diff options
context:
space:
mode:
authorSerge Pavlov <sepavloff@gmail.com>2017-05-24 10:50:56 +0000
committerSerge Pavlov <sepavloff@gmail.com>2017-05-24 10:50:56 +0000
commit0d4cc9bfbff2be0672adb506d6ad74601909f005 (patch)
treea4b75a1ca6fe88aed28dca4fdbfe4595a2fd9d13 /clang/lib/Frontend/CreateInvocationFromCommandLine.cpp
parent2f5139340e8cf54899ea1b0e15a57174256e9a61 (diff)
downloadllvm-0d4cc9bfbff2be0672adb506d6ad74601909f005.zip
llvm-0d4cc9bfbff2be0672adb506d6ad74601909f005.tar.gz
llvm-0d4cc9bfbff2be0672adb506d6ad74601909f005.tar.bz2
Modify test so that it looks for patterns in stderr as well
With the change https://reviews.llvm.org/D33013 driver will not build compilation object if command line is invalid, in particular, if unrecognized option is provided. In such cases it will prints diagnostics on stderr. The test 'clang-tidy/diagnostic.cpp' checks reaction on unrecognized option and will fail when D33013 is applied because it checks only stdout for test patterns and expects the name of diagnostic category prepared by clang-tidy. With this change the test makes more general check and must work in either case. Differential Revision: https://reviews.llvm.org/D33173 llvm-svn: 303735
Diffstat (limited to 'clang/lib/Frontend/CreateInvocationFromCommandLine.cpp')
0 files changed, 0 insertions, 0 deletions