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

Axel Naumann Axel.Naumann at cern.ch
Fri Aug 26 08:16:40 CDT 2011


Hi,

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.cs.uiuc.edu/pipermail/cfe-commits/attachments/20110826/e0f660c3/attachment-0001.bin 


More information about the cfe-commits mailing list