|
Add missing closing namespace comments to wtf.
clang-format strips the newline before the closing '}' of a namespace if
there is no namespace comment. Since we want these comments anyhow, just
add them.
Patch created by running:
# create compile_commands.json for clang-tidy:
cd src
ninja -C out/Release/ -t compdb objcxx cxx > compile_commands.json
# run clang-tidy check for adding namespace comments:
cd out/Release
~/src/llvm-rw/tools/clang/tools/extra/clang-tidy/tool/run-clang-tidy.py \
-checks=-*,google-readability-namespace-comments -p ../.. \
-clang-tidy-binary ~/src/llvm-build/bin/clang-tidy -fix \
third_party/WebKit/Source/wtf
I then manually reverted changes to two base headers due to
http://llvm.org/PR26274
No behavior change.
BUG= 580787, 403854
Committed: https://crrev.com/e714969004e905e8692366005b672a7edd8d13a8
Cr-Commit-Position: refs/heads/master@{#371143}
|
Unified diffs |
Side-by-side diffs |
Delta from patch set |
Stats (+29 lines, -29 lines) |
Patch |
|
M |
third_party/WebKit/Source/wtf/ASCIICType.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/ASCIICType.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/ASCIICTypeTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/AddressSpaceRandomization.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/ArrayBuffer.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/ArrayBufferView.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/CheckedArithmetic.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/ConditionalDestructor.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/CryptographicallyRandomNumber.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/Forward.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/Functional.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/LinkedHashSet.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/Locker.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/SizeLimits.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/TemporaryChange.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/ThreadRestrictionVerifier.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/TreeNode.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/testing/WTFTestPrintersTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/text/Collator.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/text/StringBuilderTest.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/text/StringHash.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/text/StringImpl.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/text/StringImplCF.cpp
|
View
|
|
2 chunks |
+2 lines, -2 lines |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/text/StringImplMac.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/text/StringMac.mm
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/text/StringStatics.cpp
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
|
M |
third_party/WebKit/Source/wtf/text/StringView.h
|
View
|
|
1 chunk |
+1 line, -1 line |
0 comments
|
Download
|
Total messages: 19 (10 generated)
|