[PATCH] D43576: Solution to fix PR27066 - Redefinition with same mangled name as another definition (dllexport and uuid)
Zahira Ammarguellat via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Apr 20 08:30:12 PDT 2018
zahiraam marked 3 inline comments as done.
zahiraam added inline comments.
================
Comment at: lib/Sema/SemaDeclAttr.cpp:4937-4938
- return nullptr;
- Diag(UA->getLocation(), diag::err_mismatched_uuid);
- Diag(Range.getBegin(), diag::note_previous_uuid);
- D->dropAttr<UuidAttr>();
----------------
zahiraam wrote:
> rsmith wrote:
> > Do we still diagnose UUID mismatches somewhere else?
> Not as far as I know. I guess I should put this diag somewhere?
Fixed the initial code.
https://reviews.llvm.org/D43576
More information about the cfe-commits
mailing list