[cfe-commits] r66549 - in /cfe/trunk: include/clang/AST/Decl.h lib/CodeGen/Mangle.cpp lib/Sema/SemaDecl.cpp test/CodeGenCXX/mangle.cpp
Eli Friedman
eli.friedman at gmail.com
Tue Mar 10 10:37:38 PDT 2009
On Tue, Mar 10, 2009 at 9:36 AM, Eli Friedman <eli.friedman at gmail.com> wrote:
> On Tue, Mar 10, 2009 at 9:07 AM, Anders Carlsson <andersca at mac.com> wrote:
>> Address Doug's comments wrt the mangler and fix Eli's test case
>
> Looks generally okay. Might be a good idea to put in a null check
> somewhere so the following (invalid) code doesn't mysteriously crash:
>
> typedef struct { int x; } *b;
> int r(b a) { return (int)a; }
> typedef __typeof(*(b*)0) c;
Gah, didn't mean to put the last line in.
-Eli
More information about the cfe-commits
mailing list