diff options
author | Kupa-Martin <84517188+Kupa-Martin@users.noreply.github.com> | 2024-03-12 11:21:34 -0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 10:21:34 -0400 |
commit | f8fab2126ffab713f4ab4619360b6941be6d4e35 (patch) | |
tree | a0ac67ff8608e1a8945faec76e2e12ffeea4d71e /llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp | |
parent | afd47587039e5a93919eb962cfe3a230cc91c504 (diff) | |
download | llvm-f8fab2126ffab713f4ab4619360b6941be6d4e35.zip llvm-f8fab2126ffab713f4ab4619360b6941be6d4e35.tar.gz llvm-f8fab2126ffab713f4ab4619360b6941be6d4e35.tar.bz2 |
[Clang][Sema] Fix type of enumerators in incomplete enumerations (#84068)
Enumerators dont have the type of their enumeration before the closing
brace. In these cases Expr::getEnumCoercedType() incorrectly returned
the enumeration type.
Introduced in PR #81418
Fixes #84712
Diffstat (limited to 'llvm/lib/CodeGen/AssignmentTrackingAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions