]> granicus.if.org Git - clang/commit
Use isa<ElaboratedType> rather than getAs<ElaboratedType>, since the
authorDouglas Gregor <dgregor@apple.com>
Mon, 11 Jan 2010 22:04:54 +0000 (22:04 +0000)
committerDouglas Gregor <dgregor@apple.com>
Mon, 11 Jan 2010 22:04:54 +0000 (22:04 +0000)
commit39700992bf99573983ff80fc519ec51fce0f0f61
treecf1fb6d04eb62372287fc720c6ce3aee338b381d
parentb4a89998b2c8945ccb05d5d1ab7b93e98d695057
Use isa<ElaboratedType> rather than getAs<ElaboratedType>, since the
latter may (eventually) perform multiple levels of desugaring (thus
breaking the newly-added tests) and the former is faster. Thanks, John!

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@93192 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaDecl.cpp
test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p4.cpp