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: Daniel Cheng <dcheng@chromium.org>
Commit-Queue: Keishi Hattori <keishi@chromium.org>
Cr-Commit-Position: refs/heads/master@{#859595}
GitOrigin-RevId: dab6484f762a1f285bbd6e52faf720b4efb17626
7 files changed