[PATCH] D61817: [analyzer] Add a prunable note for skipping virtual base initializers in subclasses.

Artem Dergachev via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 14 16:37:39 PDT 2019


NoQ updated this revision to Diff 199534.
NoQ marked an inline comment as done.
NoQ added a comment.

> What about "the most derived class"

Sounds great!

> It would be cool to say "by A" or something more simple and precise.

We can't do that in all cases (we don't necessarily see the constructor of the most derived class) but in some cases we might be able to do it (when we're sure that we actually see it). Added a TODO.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D61817/new/

https://reviews.llvm.org/D61817

Files:
  clang/include/clang/StaticAnalyzer/Core/BugReporter/BugReporter.h
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/CoreEngine.h
  clang/include/clang/StaticAnalyzer/Core/PathSensitive/ExprEngine.h
  clang/lib/StaticAnalyzer/Core/BugReporterVisitors.cpp
  clang/lib/StaticAnalyzer/Core/CoreEngine.cpp
  clang/lib/StaticAnalyzer/Core/PathDiagnostic.cpp
  clang/test/Analysis/diagnostics/initializer.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61817.199534.patch
Type: text/x-patch
Size: 8126 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190514/30649e42/attachment.bin>


More information about the cfe-commits mailing list