diff options
| author | George Burgess IV <george.burgess.iv@gmail.com> | 2018-01-16 03:01:50 +0000 |
|---|---|---|
| committer | George Burgess IV <george.burgess.iv@gmail.com> | 2018-01-16 03:01:50 +0000 |
| commit | d74b6a8f64fc88cb33eeecc60d7bf30b31f17fa3 (patch) | |
| tree | 4d75340b21261357897f8c3ac2241924add1c89e /llvm/utils/TableGen/CodeGenTarget.cpp | |
| parent | d57c03ddca1cc2d8ceb8c299f58e70f97a60102c (diff) | |
| download | bcm5719-llvm-d74b6a8f64fc88cb33eeecc60d7bf30b31f17fa3.tar.gz bcm5719-llvm-d74b6a8f64fc88cb33eeecc60d7bf30b31f17fa3.zip | |
[Sema] Fix a crash on invalid features in multiversioning
We were trying to emit a diag::err_bad_multiversion_option diagnostic,
which expects an int as its first argument, with a string argument. As
it happens, the string `Feature` that was causing this was shadowing an
int `Feature` from the surrounding scope. :)
llvm-svn: 322530
Diffstat (limited to 'llvm/utils/TableGen/CodeGenTarget.cpp')
0 files changed, 0 insertions, 0 deletions

