commit | c82d6a256cb2ce61e7099cff731da327a72e23f7 | [log] [tgz] |
---|---|---|
author | Derek Schuff <dschuff@chromium.org> | Wed Jul 15 16:02:11 2015 |
committer | Derek Schuff <dschuff@chromium.org> | Wed Jul 15 16:02:11 2015 |
tree | 33f13830c4474d6f854c4523474ca3c6a2fe881b | |
parent | 0895c9a2aedd33371c6cb8703d5fe8bb4493169b [diff] |
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 Review URL: https://codereview.chromium.org/1238843002 .