diff options
author | Vedran Miletić <[email protected]> | 2016-12-21 13:49:36 +0100 |
---|---|---|
committer | Francisco Jerez <[email protected]> | 2016-12-24 18:35:09 -0800 |
commit | d9fef848a651b47520cbeb72c38b93d4fbf842a8 (patch) | |
tree | 28e2664884401f4dbdebb6b5c7f62095bcc8253f /src/amd/common | |
parent | 3a30b1a556b1ed7dc60befcec16343e80a3bd77e (diff) |
clover: Use Clang's diagnostics
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: fix inconsistent code formatting
Signed-off-by: Vedran Miletić <[email protected]>
Reviewed-by: Francisco Jerez <[email protected]>
Tested-by: Aaron Watry <[email protected]>
Diffstat (limited to 'src/amd/common')
0 files changed, 0 insertions, 0 deletions