diff options
| author | Richard Trieu <rtrieu@google.com> | 2013-08-31 03:50:47 +0000 |
|---|---|---|
| committer | Richard Trieu <rtrieu@google.com> | 2013-08-31 03:50:47 +0000 |
| commit | 9a96de74d82abf520a8d65c38fb216e8a40c7bb2 (patch) | |
| tree | 5e9cfa4b347e5591f2e56573787a5fa39282b328 /lib/CodeGen/CGExpr.cpp | |
| parent | e720311db86d0060c24be9465b667a781a70dc2e (diff) | |
| download | clang-9a96de74d82abf520a8d65c38fb216e8a40c7bb2.tar.gz clang-9a96de74d82abf520a8d65c38fb216e8a40c7bb2.tar.bz2 clang-9a96de74d82abf520a8d65c38fb216e8a40c7bb2.tar.xz | |
The diagnostic err_init_conversion_failed uses the enum
InitializedEntity::EntityKind as an index for one of its %select. Over time,
EntityKind has been expanded, but the diagnostic text has not been updated.
This adds additional text to the %select to cover the new enum values. A
comment has been added to the end of the enum regarding this situation. This
fixes the crasher in PR17043.
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@189716 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
