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

Issue 2936923002: Add not_needed function (Closed)

Created:
3 years, 6 months ago by Petr Hosek
Modified:
3 years, 5 months ago
Reviewers:
Dirk Pranke, brettw
CC:
chromium-reviews, Dirk Pranke, tfarina, agrieve+watch_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Add not_needed function This can be used to mark variables from a scope as unused, which means you will not get an error about unused variables for these. Review-Url: https://codereview.chromium.org/2936923002 Cr-Commit-Position: refs/heads/master@{#483290} Committed: https://chromium.googlesource.com/chromium/src/+/49be032f4d3274a71b61c0a92f9f747a4b3c90dd

Patch Set 1 #

Patch Set 2 : Rename to not_needed #

Total comments: 6

Patch Set 3 : Support current scope #

Total comments: 10

Patch Set 4 : Add not_needed function #

Patch Set 5 : Rebase #

Unified diffs Side-by-side diffs Delta from patch set Stats (+209 lines, -0 lines) Patch
M tools/gn/docs/reference.md View 1 2 3 4 2 chunks +20 lines, -0 lines 0 comments Download
M tools/gn/functions.h View 1 1 chunk +8 lines, -0 lines 0 comments Download
M tools/gn/functions.cc View 1 2 3 2 chunks +117 lines, -0 lines 0 comments Download
M tools/gn/functions_target_unittest.cc View 1 2 3 4 1 chunk +53 lines, -0 lines 0 comments Download
M tools/gn/scope.h View 1 2 1 chunk +1 line, -0 lines 0 comments Download
M tools/gn/scope.cc View 1 2 1 chunk +10 lines, -0 lines 0 comments Download

Messages

Total messages: 16 (8 generated)
Petr Hosek
3 years, 6 months ago (2017-06-13 19:38:16 UTC) #3
brettw
Sorry I'm so behind! https://codereview.chromium.org/2936923002/diff/20001/tools/gn/functions.cc File tools/gn/functions.cc (right): https://codereview.chromium.org/2936923002/diff/20001/tools/gn/functions.cc#newcode645 tools/gn/functions.cc:645: "not_needed: Mark variables from scope ...
3 years, 6 months ago (2017-06-20 17:27:26 UTC) #4
Petr Hosek
https://codereview.chromium.org/2936923002/diff/20001/tools/gn/functions.cc File tools/gn/functions.cc (right): https://codereview.chromium.org/2936923002/diff/20001/tools/gn/functions.cc#newcode645 tools/gn/functions.cc:645: "not_needed: Mark variables from scope as unusedd."; On 2017/06/20 ...
3 years, 6 months ago (2017-06-21 02:17:40 UTC) #5
Petr Hosek
ping
3 years, 5 months ago (2017-06-28 18:45:58 UTC) #7
brettw
Sorry for the delay as usual :/ LGTM https://codereview.chromium.org/2936923002/diff/40001/tools/gn/args.cc File tools/gn/args.cc (right): https://codereview.chromium.org/2936923002/diff/40001/tools/gn/args.cc#newcode9 tools/gn/args.cc:9: #include ...
3 years, 5 months ago (2017-06-28 20:16:49 UTC) #8
Petr Hosek
https://codereview.chromium.org/2936923002/diff/40001/tools/gn/args.cc File tools/gn/args.cc (right): https://codereview.chromium.org/2936923002/diff/40001/tools/gn/args.cc#newcode9 tools/gn/args.cc:9: #include "tools/gn/scheduler.h" On 2017/06/28 20:16:49, brettw wrote: > This ...
3 years, 5 months ago (2017-06-28 23:21:32 UTC) #9
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/2936923002/80001
3 years, 5 months ago (2017-06-29 02:22:38 UTC) #13
commit-bot: I haz the power
3 years, 5 months ago (2017-06-29 04:06:53 UTC) #16
Message was sent while issue was closed.
Committed patchset #5 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/49be032f4d3274a71b61c0a92f9f...

Powered by Google App Engine
This is Rietveld 408576698