summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Demangle/ItaniumDemangle.cpp
diff options
context:
space:
mode:
authorMarcello Maggioni <hayarms@gmail.com>2018-08-20 19:23:45 +0000
committerMarcello Maggioni <hayarms@gmail.com>2018-08-20 19:23:45 +0000
commit5ca4128b45fb32c51c9b59ffca24dd3c9465fb2f (patch)
tree8ef3596fb661146125a84a6568385865269326de /llvm/lib/Demangle/ItaniumDemangle.cpp
parent66555a7bed88aca313f194e57a4c8ebc547ef268 (diff)
downloadbcm5719-llvm-5ca4128b45fb32c51c9b59ffca24dd3c9465fb2f.tar.gz
bcm5719-llvm-5ca4128b45fb32c51c9b59ffca24dd3c9465fb2f.zip
[PSV] Update API to be able to use TargetCustom without UB.
getTargetCustom() requires values for "Kind" in the constructor that are not in the PSVKind enum. Passing a value that is not inside an enum as an argument to a constructor of the type of the enum is UB. Changing to the underlying type of the enum would solve the UB Differential Revision: https://reviews.llvm.org/D50909 llvm-svn: 340200
Diffstat (limited to 'llvm/lib/Demangle/ItaniumDemangle.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud