[PATCH] Follow-up to D6217
Anton Korobeynikov
anton at korobeynikov.info
Thu Nov 13 15:20:15 PST 2014
Hi rsmith, chandlerc,
Ok, here is somewhat addition to D6217 aiming to preserve old darwin behavior wrt the typedefed types. The actual change to SemaChecking turned out to be pretty gross, in particular:
1. We need to extract the typedef'ed type for proper diagnostics
2. We need to walk over paren expressions as well
http://reviews.llvm.org/D6256
Files:
lib/Sema/SemaChecking.cpp
lib/Sema/SemaExpr.cpp
lib/Sema/SemaExprCXX.cpp
test/CodeGen/complex.c
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D6256.16185.patch
Type: text/x-patch
Size: 7116 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20141113/36795d82/attachment.bin>
More information about the cfe-commits
mailing list