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

Kristóf Umann via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu May 20 05:26:03 PDT 2021


Szelethus 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
----------------
tomasz-kaminski-sonarsource wrote:
> 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.
Oh, silly me. you're right. :) 


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

https://reviews.llvm.org/D102835



More information about the cfe-commits mailing list