Takuto Ikuta
c8d6b16f02
format windows headers using new config.
Test new config:
https://chromium-review.googlesource.com/c/chromium/src/+/5197064
by applying clang-format on every problematic windows headers.
This CL is cloned from https://crrev.com/c/5366045.
Script:
-------
```
function replace {
echo "Replacing $1 by $2"
git grep -l "$1" \
| cut -f1 -d: \
| grep \
-e "\.h" \
-e "\.cc" \
| grep -v "third_party/[^b]" \
| sort \
| uniq \
| xargs sed -i "s/$1/$2/gi"
}
git checkout origin/main
git branch -D change-5197064 || true
git new-branch change-5197064
replace "#include <\(initguid|mmdeviceapi\|windows\|winsock2\|ws2tcpip\|shobjidl\|atlbase\|ole2\|unknwn\|objbase\|tchar\).h>" ""
replace "#include \"base\\/win\\/atl.h\"" ""
replace "#include <uiautomation.*>" ""
git add -u
git commit -m "remove problematic windows headers"
git revert HEAD --no-commit
git add -u
git commit -m "add problematic windows headers"
git cl format --upstream=HEAD~
git add -u
git commit -m "format"
git cl issue 5367127
git cl upload -df --bypass-hook
```
Also removed some unnecessary comments.
Bug: 329138753
Change-Id: I161c28ea2d27c569825e0c789a4c143530937f58
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5367127
Commit-Queue: Peter Kasting <pkasting@chromium.org>
Owners-Override: Peter Kasting <pkasting@chromium.org>
Commit-Queue: Takuto Ikuta <tikuta@chromium.org>
Reviewed-by: Peter Kasting <pkasting@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1287420}
2024-04-15 16:59:19 +00:00
..
2024-04-13 00:37:39 +00:00
2024-01-29 23:25:43 +00:00
2023-11-03 21:39:01 +00:00
2024-04-13 00:37:39 +00:00
2024-04-13 00:37:39 +00:00
2023-11-10 09:46:54 +00:00
2023-11-10 09:46:54 +00:00
2023-03-02 18:42:52 +00:00
2023-05-23 16:20:33 +00:00
2023-11-03 21:39:01 +00:00
2023-11-03 21:39:01 +00:00
2024-02-14 09:30:52 +00:00
2023-01-09 21:42:28 +00:00
2023-11-03 21:39:01 +00:00
2024-03-25 18:07:31 +00:00
2023-12-28 20:06:22 +00:00
2023-10-23 20:35:59 +00:00
2023-03-31 04:59:55 +00:00
2023-10-04 15:36:46 +00:00
2023-11-10 09:46:54 +00:00
2023-01-09 21:42:28 +00:00
2024-01-30 21:52:34 +00:00
2023-04-06 16:58:46 +00:00
2023-11-10 09:46:54 +00:00
2024-04-15 16:59:19 +00:00
2024-02-29 19:39:05 +00:00
2024-03-21 21:02:42 +00:00
2023-03-31 04:59:55 +00:00
2023-11-10 09:46:54 +00:00
2024-04-13 00:37:39 +00:00
2023-11-03 21:39:01 +00:00
2024-01-19 21:24:22 +00:00
2023-01-09 21:42:28 +00:00
2023-01-12 00:58:41 +00:00
2023-01-12 00:58:41 +00:00
2024-01-09 00:47:46 +00:00
2023-09-19 00:10:00 +00:00
2023-04-10 19:10:44 +00:00
2023-07-19 09:00:43 +00:00
2023-04-10 19:10:44 +00:00
2024-02-09 14:01:52 +00:00
2023-04-06 16:58:46 +00:00
2023-04-10 19:10:44 +00:00
2023-04-10 19:10:44 +00:00
2024-01-19 21:24:22 +00:00
2024-01-19 21:24:22 +00:00
2023-11-08 23:22:16 +00:00
2023-08-16 20:35:49 +00:00
2023-12-20 19:29:35 +00:00
2023-11-10 09:46:54 +00:00
2024-02-29 19:39:05 +00:00
2023-11-10 09:46:54 +00:00
2024-02-29 19:39:05 +00:00
2023-02-15 21:01:54 +00:00
2024-01-23 18:25:14 +00:00
2024-01-17 21:37:20 +00:00
2024-01-30 21:52:34 +00:00
2023-11-03 21:39:01 +00:00