[PATCH] Add warnings for undefined behaviors with pointers

Richard Trieu rtrieu at google.com
Tue Jun 3 15:32:22 PDT 2014


Make warnings on by default, change wording of warnings, disable warnings in some analysis tests.

http://reviews.llvm.org/D3999

Files:
  include/clang/Basic/DiagnosticGroups.td
  include/clang/Basic/DiagnosticSemaKinds.td
  lib/Sema/SemaChecking.cpp
  test/Analysis/inlining/path-notes.cpp
  test/Analysis/misc-ps-region-store.cpp
  test/Analysis/reference.cpp
  test/Analysis/stack-addr-ps.cpp
  test/SemaCXX/warn-tautological-undefined-compare.cpp
  test/SemaCXX/warn-undefined-bool-conversion.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D3999.10066.patch
Type: text/x-patch
Size: 11157 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140603/29b4e61d/attachment.bin>


More information about the cfe-commits mailing list