[cfe-commits] r109296 - /cfe/trunk/lib/Sema/SemaDecl.cpp

Douglas Gregor dgregor at apple.com
Fri Jul 23 17:40:04 PDT 2010


On Jul 23, 2010, at 5:39 PM, Eli Friedman wrote:

> On Fri, Jul 23, 2010 at 5:10 PM, Douglas Gregor <dgregor at apple.com> wrote:
>> Author: dgregor
>> Date: Fri Jul 23 19:10:38 2010
>> New Revision: 109296
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=109296&view=rev
>> Log:
>> Be careful; even though we had a proper name at the beginning of
>> Sema::ActOnDeclarator doesn't mean that the Decl we ended up creating
>> has a useful name. <rdar://problem/8229910>
>> 
>> Modified:
>>    cfe/trunk/lib/Sema/SemaDecl.cpp
> 
> Testcase?


Sadly, no. We found that the DeclarationName of the newly-created decl is NULL, but we weren't able to reduce it.

	- Doug



More information about the cfe-commits mailing list