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

Issue 2674983002: Add quotes to CR_CLANG_REVISION define (Closed)

Created:
3 years, 10 months ago by zienag
Modified:
3 years, 10 months ago
CC:
chromium-reviews
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Add quotes to CR_CLANG_REVISION define clang_revision variable may has format, that represents arithmetical expression. For example – 284979-2. Althought it is stated that this define should not be used in code, it is unsafe. It can be made as string, so it will perfectly do it's job and be much more safe. R=brettw@chromium.org, dpranke@chromium.org BUG= Review-Url: https://codereview.chromium.org/2674983002 Cr-Commit-Position: refs/heads/master@{#448520} Committed: https://chromium.googlesource.com/chromium/src/+/3331c473d65bc3331cf14e9797b102fdbbf013ea

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+1 line, -1 line) Patch
M build/config/compiler/BUILD.gn View 1 chunk +1 line, -1 line 0 comments Download

Messages

Total messages: 16 (6 generated)
zienag
3 years, 10 months ago (2017-02-03 18:11:57 UTC) #1
zienag
3 years, 10 months ago (2017-02-03 18:16:00 UTC) #4
Dirk Pranke
It seems like if we're worried about this being actually referenced in files, you'd be ...
3 years, 10 months ago (2017-02-04 17:03:42 UTC) #6
Nico
On 2017/02/04 17:03:42, Dirk Pranke (slow until Feb 7) wrote: > It seems like if ...
3 years, 10 months ago (2017-02-04 17:23:13 UTC) #7
Dirk Pranke
On 2017/02/04 17:23:13, Nico wrote: > On 2017/02/04 17:03:42, Dirk Pranke (slow until Feb 7) ...
3 years, 10 months ago (2017-02-04 17:39:28 UTC) #8
zienag
On 2017/02/04 17:39:28, Dirk Pranke (slow until Feb 7) wrote: > On 2017/02/04 17:23:13, Nico ...
3 years, 10 months ago (2017-02-06 10:02:49 UTC) #9
Dirk Pranke
On 2017/02/06 10:02:49, zienag wrote: > On 2017/02/04 17:39:28, Dirk Pranke (slow until Feb 7) ...
3 years, 10 months ago (2017-02-06 21:40:30 UTC) #10
Nico
sure, lgtm
3 years, 10 months ago (2017-02-06 22:01:08 UTC) #11
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/2674983002/1
3 years, 10 months ago (2017-02-06 22:30:23 UTC) #13
commit-bot: I haz the power
3 years, 10 months ago (2017-02-07 02:34:21 UTC) #16
Message was sent while issue was closed.
Committed patchset #1 (id:1) as
https://chromium.googlesource.com/chromium/src/+/3331c473d65bc3331cf14e9797b1...

Powered by Google App Engine
This is Rietveld 408576698