[cfe-commits] [patch] [rfh] Merge storage classes in more cases
Rafael EspĂndola
rafael.espindola at gmail.com
Mon Dec 17 14:43:46 PST 2012
Enea noticed that we were not merging storage classes in the second
declaration of y in
static int y;
void foo(void) {
extern int y;
}
The attached patch fixes it, but it needs a testcase. I was not able
to write one so far since most places that look at the canonical decl.
Any ideas how to add one?
Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: application/octet-stream
Size: 566 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20121217/1d561f00/attachment.obj>
More information about the cfe-commits
mailing list