diff options
| author | Reid Kleckner <rnk@google.com> | 2020-04-03 13:42:23 -0700 |
|---|---|---|
| committer | Reid Kleckner <rnk@google.com> | 2020-04-03 16:46:07 -0700 |
| commit | e62dc1f6252c1dcdcc2a64e8e3b07a32412e9d89 (patch) | |
| tree | 48e4de1ccf844de968f0e20b1506b9214cf2195a /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
| parent | 98f77828a98fd05760987598db1355cf08b643bd (diff) | |
| download | llvm-e62dc1f6252c1dcdcc2a64e8e3b07a32412e9d89.zip llvm-e62dc1f6252c1dcdcc2a64e8e3b07a32412e9d89.tar.gz llvm-e62dc1f6252c1dcdcc2a64e8e3b07a32412e9d89.tar.bz2 | |
[MS] Fix assert handling enum forward decls in hasVisibleDefinition
An enum may be considered to be a complete type if it was forward
declared. It may be declared with a fixed underlying type, or, in MSVC
compatiblity mode, with no type at all.
Previously, the code was written with special handling for fixed enums.
I generalized the code to check if the underlying integer type is known,
which should be the case when targetting the MSVC C++ ABI.
Fixes PR45409
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions
