This enables cfg-temporary-dtors, cfg-rich-constructors, and
cfg-implicit-dtors (defaults for CSA) for CFGLifetime test,
making int consistent with cfg-scopes test.
Before the fixes implemented in https://reviews.llvm.org/D153273,
this flags were incompatible.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
Updating this tests illustrated that we are missing a lot of coverage for the objects with trivial destructors, but I think this should be addressed as a separate patch.
Comment Actions
Added generic FIXME comment for covering test cases for types with trivial destructor.
This affects nearly all tests cases from file, so some tought needs to be put on how
to apporach it.
Comment Actions
Thanks!
clang/test/Analysis/lifetime-cfg-output.cpp | ||
---|---|---|
6 | I have a bit hard time understanding this part. |
clang/test/Analysis/lifetime-cfg-output.cpp | ||
---|---|---|
6 | Rewrote it, to help with clarity. |
I have a bit hard time understanding this part.