[PATCH] D102835: [analyzer] Correctly propagate ConstructionContextLayer thru ParenExpr

Tomasz KamiƄski via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 20 04:55:06 PDT 2021


tomasz-kaminski-sonarsource added inline comments.


================
Comment at: clang/test/Analysis/NewDelete-checker-test.cpp:54-57
+// RUN: %clang_analyze_cc1 -std=c++17 -fblocks -verify %s \
+// RUN:   -verify=expected,leak \
+// RUN:   -analyzer-checker=core \
+// RUN:   -analyzer-checker=cplusplus.NewDeleteLeaks
----------------
Szelethus wrote:
> This last RUN seems to be the same as the first.
This checker enables NewDeleteLeaks, while first enables NewDelete. From what I have checked, this two seem to have different behavior.


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

https://reviews.llvm.org/D102835



More information about the cfe-commits mailing list