aboutsummaryrefslogtreecommitdiff
path: root/llvm/unittests/ADT/ArrayRefTest.cpp
diff options
context:
space:
mode:
authorGeorge Burgess IV <george.burgess.iv@gmail.com>2018-01-16 03:01:50 +0000
committerGeorge Burgess IV <george.burgess.iv@gmail.com>2018-01-16 03:01:50 +0000
commitd74b6a8f64fc88cb33eeecc60d7bf30b31f17fa3 (patch)
tree4d75340b21261357897f8c3ac2241924add1c89e /llvm/unittests/ADT/ArrayRefTest.cpp
parentd57c03ddca1cc2d8ceb8c299f58e70f97a60102c (diff)
downloadllvm-d74b6a8f64fc88cb33eeecc60d7bf30b31f17fa3.zip
llvm-d74b6a8f64fc88cb33eeecc60d7bf30b31f17fa3.tar.gz
llvm-d74b6a8f64fc88cb33eeecc60d7bf30b31f17fa3.tar.bz2
[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/unittests/ADT/ArrayRefTest.cpp')
0 files changed, 0 insertions, 0 deletions