Fixes duplicate warning emitted by clang when
char16_t/char32_t is used in the catch block.
Fixes this
https://bugs.llvm.org/show_bug.cgi?id=46425
Differential D82446
[clang] Fix duplicate warning kamleshbhalui on Jun 24 2020, 3:24 AM. Authored by
Details
Fixes duplicate warning emitted by clang when Fixes this
Diff Detail
Event Timeline
Comment Actions I apologise for a quick drive-by comment, but this is something I find very annoying when looking at the history of a piece of code: Could you spent a few minutes to make a more descriptive title and description? Fixes duplicate warning emitted by clang when char16_t/char32_t is used in the catch block. Does not actually explains what is wrong (the duplicate warning is just a symptom), nor does it explains what is done to fix it, nor does it explains *why* this is the right fix.
|
This change is incorrect -- Finish is what ensures the DeclSpec is in a consistent state (even in the presence of errors), so removing it would be bad.