Skip to content
Commit dab6484f authored by Keishi Hattori's avatar Keishi Hattori Committed by Chromium LUCI CQ
Browse files

Treat CheckedPtr specially in FindBadConstructsConsumer

Treat CheckedPtr specially in FindBadConstructsConsumer for now as discussed in:
https://groups.google.com/a/google.com/g/chrome-memory-safety/c/kw3i_zd3FW4/m/40FkyrLtAQAJ
This CL helps to avoid "Complex constructor has an inlined body" and similar errors during go/miracleptr experiments.
The new behavior can be enabled with checked-ptr-as-trivial-member command option.

Bug: 1080832
Change-Id: I09802c1e78e8662f0ce894decab71b4ab85e7240
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2729101


Reviewed-by: default avatarDaniel Cheng <dcheng@chromium.org>
Commit-Queue: Keishi Hattori <keishi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859595}
parent ec49b049
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment