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

Issue 1238843002: Cherry-pick upstream r238083 (Closed)

Created:
5 years, 5 months ago by Derek Schuff
Modified:
5 years, 5 months ago
Reviewers:
JF
CC:
native-client-reviews_googlegroups.com, jungshik at Google
Base URL:
https://chromium.googlesource.com/native_client/pnacl-clang.git@master
Target Ref:
refs/heads/master
Visibility:
Public.

Description

Cherry-pick upstream r238083 [Sema] Don't use dyn_cast to detect an AtomicType An AtomicType might be hidden behind arbitrary levels of typedefs. getAs<> will reliably walk through the sugar to get the underlying AtomicType. This fixes PR23638. R=jfb@chromium.org BUG= https://code.google.com/p/nativeclient/issues/detail?id=4228 Committed: c82d6a256cb2ce61e7099cff731da327a72e23f7

Patch Set 1 #

Unified diffs Side-by-side diffs Delta from patch set Stats (+6 lines, -1 line) Patch
M lib/Sema/SemaChecking.cpp View 1 chunk +1 line, -1 line 0 comments Download
M test/Sema/atomic-compare.c View 1 chunk +5 lines, -0 lines 0 comments Download

Messages

Total messages: 4 (0 generated)
Derek Schuff
5 years, 5 months ago (2015-07-15 01:26:16 UTC) #1
Derek Schuff
+cc jshin@chromium.org
5 years, 5 months ago (2015-07-15 01:27:18 UTC) #2
JF
lgtm
5 years, 5 months ago (2015-07-15 01:30:39 UTC) #3
Derek Schuff
5 years, 5 months ago (2015-07-15 16:02:18 UTC) #4
Message was sent while issue was closed.
Committed patchset #1 (id:1) manually as
c82d6a256cb2ce61e7099cff731da327a72e23f7 (tree was closed).

Powered by Google App Engine
This is Rietveld 408576698