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

Issue 1504033010: Follow macro invocations when checking if a violation happened in a .cc file. (Closed)

Created:
5 years ago by Jeffrey Yasskin
Modified:
5 years ago
Reviewers:
Nico
CC:
chromium-reviews
Base URL:
https://chromium.googlesource.com/chromium/src.git@lkcr
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Follow macro invocations when checking if a violation happened in a .cc file. BUG=156590 Committed: https://crrev.com/dde9ba7081ac3a9bd052d819d1467af82e836866 Cr-Commit-Position: refs/heads/master@{#364385}

Patch Set 1 #

Total comments: 1

Patch Set 2 : Check every file in the macro instantiation chain. #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+62 lines, -9 lines) Patch
M tools/clang/plugins/ChromeClassTester.cpp View 1 1 chunk +24 lines, -5 lines 0 comments Download
M tools/clang/plugins/FindBadConstructsAction.cpp View 1 1 chunk +2 lines, -0 lines 0 comments Download
M tools/clang/plugins/Options.h View 1 1 chunk +1 line, -0 lines 0 comments Download
M tools/clang/plugins/tests/inline_ctor.h View 1 1 chunk +13 lines, -0 lines 2 comments Download
M tools/clang/plugins/tests/inline_ctor.cpp View 1 2 chunks +7 lines, -0 lines 0 comments Download
M tools/clang/plugins/tests/inline_ctor.txt View 1 1 chunk +13 lines, -4 lines 0 comments Download
M tools/clang/plugins/tests/test.sh View 1 chunk +2 lines, -0 lines 0 comments Download

Dependent Patchsets:

Messages

Total messages: 15 (5 generated)
Jeffrey Yasskin
5 years ago (2015-12-10 02:02:05 UTC) #2
commit-bot: I haz the power
Dry run: CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1504033010/1 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1504033010/1
5 years ago (2015-12-10 02:03:40 UTC) #4
Jeffrey Yasskin
This one successfully builds everything on my linux box with no cleanup.
5 years ago (2015-12-10 02:16:15 UTC) #5
commit-bot: I haz the power
Dry run: This issue passed the CQ dry run.
5 years ago (2015-12-10 04:05:46 UTC) #7
Jeffrey Yasskin
https://codereview.chromium.org/1504033010/diff/1/tools/clang/plugins/ChromeClassTester.cpp File tools/clang/plugins/ChromeClassTester.cpp (right): https://codereview.chromium.org/1504033010/diff/1/tools/clang/plugins/ChromeClassTester.cpp#newcode194 tools/clang/plugins/ChromeClassTester.cpp:194: record_location = source_manager.getExpansionRange(record_location).first; I thought I could just go ...
5 years ago (2015-12-10 04:19:20 UTC) #8
Nico
looks great, thanks! lgtm https://codereview.chromium.org/1504033010/diff/20001/tools/clang/plugins/tests/inline_ctor.h File tools/clang/plugins/tests/inline_ctor.h (right): https://codereview.chromium.org/1504033010/diff/20001/tools/clang/plugins/tests/inline_ctor.h#newcode32 tools/clang/plugins/tests/inline_ctor.h:32: MACRO_FROM_CPP; Do we need the ...
5 years ago (2015-12-10 14:22:35 UTC) #9
Jeffrey Yasskin
Thanks! https://codereview.chromium.org/1504033010/diff/20001/tools/clang/plugins/tests/inline_ctor.h File tools/clang/plugins/tests/inline_ctor.h (right): https://codereview.chromium.org/1504033010/diff/20001/tools/clang/plugins/tests/inline_ctor.h#newcode32 tools/clang/plugins/tests/inline_ctor.h:32: MACRO_FROM_CPP; On 2015/12/10 14:22:35, Nico wrote: > Do ...
5 years ago (2015-12-10 16:20:00 UTC) #10
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/1504033010/20001 View timeline at https://chromium-cq-status.appspot.com/patch-timeline/1504033010/20001
5 years ago (2015-12-10 16:48:44 UTC) #12
commit-bot: I haz the power
Committed patchset #2 (id:20001)
5 years ago (2015-12-10 17:00:59 UTC) #13
commit-bot: I haz the power
5 years ago (2015-12-10 17:01:39 UTC) #15
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/dde9ba7081ac3a9bd052d819d1467af82e836866
Cr-Commit-Position: refs/heads/master@{#364385}

Powered by Google App Engine
This is Rietveld 408576698