RESOLVED FIXED 232226
[WebCore] Remove unneeded WTF:: namespace prefix
https://bugs.webkit.org/show_bug.cgi?id=232226
Summary [WebCore] Remove unneeded WTF:: namespace prefix
Fujii Hironori
Reported 2021-10-24 21:35:29 PDT
[WebCore] Remove unneeded WTF:: namespace prefix
Attachments
Patch (521.94 KB, patch)
2021-10-24 22:00 PDT, Fujii Hironori
no flags
Patch (507.12 KB, patch)
2021-10-24 23:26 PDT, Fujii Hironori
ews-feeder: commit-queue-
Patch (507.20 KB, patch)
2021-10-25 00:06 PDT, Fujii Hironori
no flags
Patch (503.05 KB, patch)
2021-10-25 13:58 PDT, Fujii Hironori
no flags
Fujii Hironori
Comment 1 2021-10-24 21:39:30 PDT
# There are Observer classes in WebCore # There are a lot of declarations of WTF::TextStream in WebCore git ls-files Source/WTF | grep \.h$ | xargs grep -h "using WTF:" | sort | uniq | grep -v WTF::Observer | grep -v WTF::TextStream > u.txt perl -pe '$_ = "s/$&\\b/$2/g\n" if ~/WTF(::\w+)?::(\w+)/' u.txt > u.sed git ls-files Source/WebCore | grep -E '.(h|cpp|pl)'$ | xargs grep -l WTF:: | xargs sed -Ei -f u.sed # Use WTF::append git co Source/WebCore/editing/TextIterator.cpp
Fujii Hironori
Comment 2 2021-10-24 22:00:54 PDT
Fujii Hironori
Comment 3 2021-10-24 23:26:52 PDT
Fujii Hironori
Comment 4 2021-10-25 00:06:45 PDT
Myles C. Maxfield
Comment 5 2021-10-25 02:05:35 PDT
Comment on attachment 442341 [details] Patch Please don't land this until the tv and watch bots are green.
Fujii Hironori
Comment 6 2021-10-25 13:58:32 PDT
Fujii Hironori
Comment 7 2021-10-25 23:47:37 PDT
Comment on attachment 442411 [details] Patch Thank you very much for the review.
EWS
Comment 8 2021-10-26 00:23:12 PDT
Committed r284857 (243534@main): <https://commits.webkit.org/243534@main> All reviewed patches have been landed. Closing bug and clearing flags on attachment 442411 [details].
Radar WebKit Bug Importer
Comment 9 2021-10-26 00:24:21 PDT
Note You need to log in before you can comment on or make changes to this bug.