[cfe-commits] [PATCH] DeclBase: remove unnamed named decls

Axel Naumann Axel.Naumann at cern.ch
Fri Aug 26 06:16:40 PDT 2011


the lookup map is unhappy when removing a named decl that happens to not
have a name. Attached two liner (incl 50% comments!) fixes this. I'm
asking because I know that decl removal is a sensitive topic :-) and
because this cannot happen in clang's code path: removeDecl() is only
called with named decls.

If there are no objections I'll commit it next week.

Cheers, Axel.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang_DeclBase_remove_unnamed.diff
Type: text/x-patch
Size: 436 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20110826/e0f660c3/attachment.bin>

More information about the cfe-commits mailing list