DescriptionCherry-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 #
Messages
Total messages: 4 (0 generated)
|