[cfe-commits] r70634 - in /cfe/trunk: include/clang/Basic/DiagnosticGroups.td include/clang/Basic/DiagnosticSemaKinds.td lib/Sema/SemaExpr.cpp test/SemaCXX/offsetof.cpp
Chris Lattner
clattner at apple.com
Sat May 2 12:10:33 PDT 2009
On May 2, 2009, at 10:45 AM, Anders Carlsson wrote:
> URL: http://llvm.org/viewvc/llvm-project?rev=70634&view=rev
> Log:
> Downgrade the invalid offsetof error to a warning.
Should the warning default to error?
> +def warn_offsetof_non_pod_type : Warning<"offset of on non-POD type
> %0">,
> + InGroup<InvalidOffsetof>;
If so, just add ", DefaultError"
-Chris
More information about the cfe-commits
mailing list