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

Issue 93703005: The register keyword is deprecated in C++, even at -O0, registers are used automatically. (Closed)

Created:
7 years ago by djsollen
Modified:
7 years ago
Reviewers:
scroggo, mtklein, reed1
CC:
skia-review_googlegroups.com
Base URL:
https://skia.googlesource.com/skia.git@master
Visibility:
Public.

Description

The register keyword is deprecated in C++, even at -O0, registers are used automatically. Having the register keyword there causes a warning about deprecated keywords when using clang (and possibly future gcc versions), and isn't needed. Patch originally submitted to AOSP https://android-review.googlesource.com/#/c/72501 Committed: http://code.google.com/p/skia/source/detail?r=12702

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+4 lines, -4 lines) Patch
M include/core/SkFixed.h View 4 chunks +4 lines, -4 lines 0 comments Download

Messages

Total messages: 6 (0 generated)
djsollen
7 years ago (2013-12-16 22:41:07 UTC) #1
scroggo
lgtm
7 years ago (2013-12-16 22:50:13 UTC) #2
reed1
lgtm
7 years ago (2013-12-16 23:01:05 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://skia-tree-status.appspot.com/cq/djsollen@google.com/93703005/1
7 years ago (2013-12-16 23:19:29 UTC) #4
commit-bot: I haz the power
Change committed as 12702
7 years ago (2013-12-16 23:51:14 UTC) #5
kevin.petit.not.used.account
7 years ago (2013-12-17 15:00:24 UTC) #6
Message was sent while issue was closed.
register is used in many places in NEON code, maybe you want to remove them...

Powered by Google App Engine
This is Rietveld 408576698