[cfe-dev] Should we build semantically invalid nodes?

Sebastian Redl sebastian.redl at getdesigned.at
Thu Oct 23 09:58:42 PDT 2008


 From a purely practical standpoint, and possibly a minor issue, 
disallowing the construction of AST elements for invalid code means that 
for EXTENSION-diagnostics I also have to check for -pedantic-errors 
myself and prevent AST construction in this case.

I don't know how widespread use of those is. There's one in 
CheckReinterpretCast.

Sebastian



More information about the cfe-dev mailing list