[cfe-dev] Function pointer variables

Filipe Cabecinhas filcab at gmail.com
Tue Jul 1 03:35:53 PDT 2008


I reported the bug at bugzilla and, with Eli Friedman, we narrowed it  
down to MergeVarDecl.

I changed the "OldCType != NewCType" to a call to  
typesAreCompatible(). I kept the call to areEquivalentArrayTypes but,  
as Eli pointed out, maybe it's doing checks that are already done in  

   - Filipe Cabecinhas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: clang-functionTypes.diff
Type: application/octet-stream
Size: 703 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-dev/attachments/20080701/f9d9ffeb/attachment.obj>

More information about the cfe-dev mailing list