[PATCH] Make UninitializedValues detect the use of uninitialized fields in a constructor.

Enrico Pertoso epertoso at google.com
Tue Dec 3 08:26:01 PST 2013


  CFGBuilder now appends the expressions wrapped by a CXXDefaultInitExpr.

Hi klimek, rsmith,

http://llvm-reviews.chandlerc.com/D2181

CHANGE SINCE LAST DIFF
  http://llvm-reviews.chandlerc.com/D2181?vs=5718&id=5882#toc

Files:
  lib/StaticAnalyzer/Core/BugReporter.cpp
  lib/Analysis/UninitializedValues.cpp
  lib/Analysis/CFG.cpp
  lib/Sema/AnalysisBasedWarnings.cpp
  lib/Sema/SemaDeclCXX.cpp
  test/Analysis/edges-new.mm
  test/SemaCXX/uninitialized.cpp
  test/SemaCXX/defaulted-ctor-loop.cpp
  test/SemaCXX/constructor-initializer.cpp
  include/clang/Basic/DiagnosticSemaKinds.td
  include/clang/Analysis/Analyses/UninitializedValues.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2181.4.patch
Type: text/x-patch
Size: 59273 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20131203/c50e65a4/attachment.bin>


More information about the cfe-commits mailing list