HomePhabricator

[X86] Fix x86-header-warnings.c test not detecting regressions as intended.

Authored by Pierre Gousseau <pierre.gousseau@sony.com> on Apr 8 2020, 7:15 AM.

Description

[X86] Fix x86-header-warnings.c test not detecting regressions as intended.

Use -verify -fsyntax-only and expected-no-diagnostics as
recommended by Paul.

Reviewed By: probinson

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

Event Timeline

Pierre Gousseau <pierre.gousseau@sony.com> committed rG937e63b8d5e9: [X86] Fix x86-header-warnings.c test not detecting regressions as intended. (authored by Pierre Gousseau <pierre.gousseau@sony.com>).Apr 8 2020, 7:22 AM