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

Issue 2954043003: Cherry-pick upstream r237929 (Closed)

Created:
3 years, 6 months ago by Derek Schuff
Modified:
3 years, 6 months ago
Reviewers:
Sam Clegg
CC:
native-client-reviews_googlegroups.com
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Cherry-pick upstream r237929 Itanium mangler: don't trip an assertion when unresolved members have implicit bases. R=sbc@chromium.org When we find a member of the current instantation, the base of the unresolved member expression is implicit; use nullptr for such bases. This is not a change in behavior: the AST already contains null in such cases, so non-asserts builds do the right thing already. Fixes rdar://problem/21020559. Committed: cfbfff6970d1fc876a6ed3f04289e3086c9a9129

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+18 lines, -5 lines) Patch
M lib/AST/ItaniumMangle.cpp View 2 chunks +6 lines, -5 lines 0 comments Download
M test/CodeGenCXX/mangle-exprs.cpp View 1 chunk +12 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (3 generated)
Derek Schuff
3 years, 6 months ago (2017-06-23 22:27:56 UTC) #2
Sam Clegg
Wow.. impressed that you found this.
3 years, 6 months ago (2017-06-23 22:38:16 UTC) #4
Sam Clegg
lgtm
3 years, 6 months ago (2017-06-23 22:38:21 UTC) #5
Derek Schuff
On 2017/06/23 22:38:16, Sam Clegg wrote: > Wow.. impressed that you found this. No magic ...
3 years, 6 months ago (2017-06-23 22:46:11 UTC) #6
Derek Schuff
3 years, 6 months ago (2017-06-24 01:03:41 UTC) #8
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
cfbfff6970d1fc876a6ed3f04289e3086c9a9129 (presubmit successful).

Powered by Google App Engine
This is Rietveld 408576698