summaryrefslogtreecommitdiffstats
path: root/clang/lib/CodeGen/CodeGenAction.cpp
diff options
context:
space:
mode:
authorOliver Stannard <oliver.stannard@arm.com>2016-02-02 13:52:43 +0000
committerOliver Stannard <oliver.stannard@arm.com>2016-02-02 13:52:43 +0000
commit7e7d983a878acc83e0aa424907286e8cd4e22960 (patch)
tree2927c11cc22432e748958e62e128d60cc85d20a9 /clang/lib/CodeGen/CodeGenAction.cpp
parentd9e2dcdb424f761f7148db63d7ed9cd6ae40c2fe (diff)
downloadbcm5719-llvm-7e7d983a878acc83e0aa424907286e8cd4e22960.tar.gz
bcm5719-llvm-7e7d983a878acc83e0aa424907286e8cd4e22960.zip
Refactor backend diagnostics for unsupported features
Re-commit of r258951 after fixing layering violation. The BPF and WebAssembly backends had identical code for emitting errors for unsupported features, and AMDGPU had very similar code. This merges them all into one DiagnosticInfo subclass, that can be used by any backend. There should be minimal functional changes here, but some AMDGPU tests have been updated for the new format of errors (it used a slightly different format to BPF and WebAssembly). The AMDGPU error messages will now benefit from having precise source locations when debug info is available. llvm-svn: 259498
Diffstat (limited to 'clang/lib/CodeGen/CodeGenAction.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud