Re: [Mesa-dev] [PATCH v2] clover: Use Clang's diagnostics

2016-12-22 Thread Aaron Watry
On Wed, Dec 21, 2016 at 6:49 AM, Vedran Miletić wrote: > Presently errors from frontend are handled only if they occur in > clang::CompilerInvocation::CreateFromArgs(). This patch uses > clang::DiagnosticsEngine to detect errors such as invalid values for > Clang frontend arguments. > > Fixes Pig

[Mesa-dev] [PATCH v2] clover: Use Clang's diagnostics

2016-12-21 Thread Vedran Miletić
Presently errors from frontend are handled only if they occur in clang::CompilerInvocation::CreateFromArgs(). This patch uses clang::DiagnosticsEngine to detect errors such as invalid values for Clang frontend arguments. Fixes Piglit's cl/program/build/fail/invalid-version-declaration.cl test. v2