Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix issue with ptr_/ref_.ReportIfDangling when ptr_/ref_ are T*/T&
`if constexpr` isn't a replacement of #if, therefore both its subbranches have to be properly formed. This CL brings back templated code similar to what we had before crrev.com/c/4220953 This CL is expected to be a no-op. Change-Id: I98e6041e732f77623548856bf7c4894048f13a4f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4328487 Reviewed-by: Paul Semel <paulsemel@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Auto-Submit: Bartek Nowierski <bartekn@chromium.org> Commit-Queue: Bartek Nowierski <bartekn@chromium.org> Cr-Commit-Position: refs/heads/main@{#1116204}
- Loading branch information
1 parent
db6751d
commit 3b565ea
Showing
1 changed file
with
41 additions
and
31 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters