IWYU for NOTIMPLEMENTED() in the leftover files
Add the include for NOTIMPLEMENTED() to all files that use the macro:
tools/add_header.py --header "\"base/notimplemented.h\"" \
$(git gs NOTIMPLEMENTED --name-only | grep -v base/notimplemented.h)
Then remove the include for NOTREACHED() from any changed files that do
not use the macro:
tools/add_header.py --remove --header "\"base/notreached.h\"" \
$(grep -L NOTREACHED $(git diff --name-only))
Manual fixes:
- restore a JNI include and a ChromeOS media include to the correct
location.
- revert changes in partition_alloc
- revert changes in base/check.cc
Bug: 41493641
Change-Id: Id0031233147cc897ac7329dcf1061944c699d2ee
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6657184
Reviewed-by: Elly FJ <ellyjones@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Owners-Override: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1476295}
NOKEYCHECK=True
GitOrigin-RevId: 3dd1b27a7cb34cc30ee4d8ddc2146972b5254201
5 files changed