Commit Graph

5 Commits

Author SHA1 Message Date
Owen Voorhees
768c4385cf [DiagnosticVerifier] More accurate wording when printing diagnostics from external sources 2020-03-21 15:11:46 -07:00
Martin Boehme
f81ef9cf1e Prepend "diagnostic produced by Clang:" to Clang diagnostics. 2020-03-02 14:56:42 +01:00
Martin Boehme
323721b5d1 Fix verify-broken-c-module to work on macOS.
Shorten expected error message so that it doesn't expect "C module" (and
breaks if presented with "Objective-C module").
2020-03-02 14:56:42 +01:00
Martin Boehme
f51f632c43 Use "not" instead of "set +o pipefail"; improve "broken" header.
A header shouldn't contain a function body unless the function is
inline. Following gribozavr's suggestion, I'm using the easier solution
of omitting the semicolon from the function prototype.

(In response to review comments.)
2020-03-02 14:56:42 +01:00
Martin Boehme
ca9df83fef Add tests for -verify mode. 2020-03-02 14:56:42 +01:00