Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Issue 2513363002: Remove WTF_ATTRIBUTE_PRINTF. (Closed)

Created:
4 years, 1 month ago by tkent
Modified:
4 years, 1 month ago
Reviewers:
Yuta Kitamura
CC:
blink-reviews, blink-reviews-wtf_chromium.org, chromium-reviews, dominicc+watchlist_chromium.org, Mikhail
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Remove WTF_ATTRIBUTE_PRINTF. Use PRINTF_FORMAT defined in base/compiler_specific.h instead. Also, prepend PRINTF_FORMAT to functions. https://google.github.io/styleguide/cppguide.html#Function_Declarations_and_Definitions > Attributes, and macros that expand to attributes, appear at the very beginning > of the function declaration or definition, before the return type: BUG=596760 Committed: https://crrev.com/ab725021cade9b879960ee8e8e493e33b537cbfe Cr-Commit-Position: refs/heads/master@{#433825}

Patch Set 1 #

Total comments: 4

Patch Set 2 : IWYU and add comments #

Patch Set 3 : Remove comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+20 lines, -26 lines) Patch
M third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.h View 1 2 2 chunks +3 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/core/xml/parser/XMLDocumentParser.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/wtf/Assertions.h View 1 2 3 chunks +3 lines, -12 lines 0 comments Download
M third_party/WebKit/Source/wtf/Assertions.cpp View 2 chunks +2 lines, -2 lines 0 comments Download
M third_party/WebKit/Source/wtf/DataLog.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/wtf/FilePrintStream.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download
M third_party/WebKit/Source/wtf/PrintStream.h View 1 2 2 chunks +3 lines, -3 lines 0 comments Download
M third_party/WebKit/Source/wtf/text/WTFString.h View 1 2 2 chunks +2 lines, -1 line 0 comments Download

Messages

Total messages: 29 (18 generated)
tkent
yutak@, would you review this please?
4 years, 1 month ago (2016-11-21 08:15:16 UTC) #5
Yuta Kitamura
https://codereview.chromium.org/2513363002/diff/1/third_party/WebKit/Source/wtf/Assertions.h File third_party/WebKit/Source/wtf/Assertions.h (left): https://codereview.chromium.org/2513363002/diff/1/third_party/WebKit/Source/wtf/Assertions.h#oldcode68 third_party/WebKit/Source/wtf/Assertions.h:68: #endif Can you explicitly include base/compiler_specific.h and document the ...
4 years, 1 month ago (2016-11-21 08:58:39 UTC) #6
tkent
https://codereview.chromium.org/2513363002/diff/1/third_party/WebKit/Source/wtf/Assertions.h File third_party/WebKit/Source/wtf/Assertions.h (left): https://codereview.chromium.org/2513363002/diff/1/third_party/WebKit/Source/wtf/Assertions.h#oldcode68 third_party/WebKit/Source/wtf/Assertions.h:68: #endif On 2016/11/21 at 08:58:39, Yuta Kitamura wrote: > ...
4 years, 1 month ago (2016-11-21 09:12:30 UTC) #9
Yuta Kitamura
https://codereview.chromium.org/2513363002/diff/1/third_party/WebKit/Source/wtf/Assertions.h File third_party/WebKit/Source/wtf/Assertions.h (left): https://codereview.chromium.org/2513363002/diff/1/third_party/WebKit/Source/wtf/Assertions.h#oldcode68 third_party/WebKit/Source/wtf/Assertions.h:68: #endif On 2016/11/21 09:12:30, tkent wrote: > On 2016/11/21 ...
4 years, 1 month ago (2016-11-21 09:27:48 UTC) #10
tkent
https://codereview.chromium.org/2513363002/diff/1/third_party/WebKit/Source/wtf/Assertions.h File third_party/WebKit/Source/wtf/Assertions.h (left): https://codereview.chromium.org/2513363002/diff/1/third_party/WebKit/Source/wtf/Assertions.h#oldcode68 third_party/WebKit/Source/wtf/Assertions.h:68: #endif On 2016/11/21 at 09:27:48, Yuta Kitamura wrote: > ...
4 years, 1 month ago (2016-11-22 02:15:18 UTC) #18
Yuta Kitamura
On 2016/11/22 02:15:18, tkent wrote: > > Uploaded Patch Set 2. Sorry I wasn't clear, ...
4 years, 1 month ago (2016-11-22 05:14:17 UTC) #19
tkent
> Sorry for extra work, but can you do: Patch Set 1 with correct > ...
4 years, 1 month ago (2016-11-22 06:12:10 UTC) #22
Yuta Kitamura
LGTM
4 years, 1 month ago (2016-11-22 06:20:40 UTC) #23
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2513363002/60001
4 years, 1 month ago (2016-11-22 06:24:50 UTC) #25
commit-bot: I haz the power
Committed patchset #3 (id:60001)
4 years, 1 month ago (2016-11-22 09:31:31 UTC) #27
commit-bot: I haz the power
4 years, 1 month ago (2016-11-22 09:33:54 UTC) #29
Message was sent while issue was closed.
Patchset 3 (id:??) landed as
https://crrev.com/ab725021cade9b879960ee8e8e493e33b537cbfe
Cr-Commit-Position: refs/heads/master@{#433825}

Powered by Google App Engine
This is Rietveld 408576698