diff options
author | Alex Bradbury <asb@lowrisc.org> | 2017-08-22 09:11:41 +0000 |
---|---|---|
committer | Alex Bradbury <asb@lowrisc.org> | 2017-08-22 09:11:41 +0000 |
commit | 080f6976c0d0f322f60f2f72e2ab47a480da1811 (patch) | |
tree | f19b5268d909849a53b152195402a2015387e8ff /clang/test/Index/code-completion.cpp | |
parent | bc7d817c225f9e6df34b5d5a8276b45985e08ce3 (diff) | |
download | bcm5719-llvm-080f6976c0d0f322f60f2f72e2ab47a480da1811.tar.gz bcm5719-llvm-080f6976c0d0f322f60f2f72e2ab47a480da1811.zip |
Use report_fatal_error for unsupported calling conventions
The calling convention can be specified by the user in IR. Failing to support
a particular calling convention isn't a programming error, and so relying on
llvm_unreachable to catch and report an unsupported calling convention is not
appropriate.
Differential Revision: https://reviews.llvm.org/D36830
llvm-svn: 311435
Diffstat (limited to 'clang/test/Index/code-completion.cpp')
0 files changed, 0 insertions, 0 deletions