commit | fe16aa31fdfaad4c38aed443d853af293714f1c4 | [log] [tgz] |
---|---|---|
author | David Majnemer <david.majnemer@gmail.com> | Fri Sep 27 07:04:31 2013 +0000 |
committer | David Majnemer <david.majnemer@gmail.com> | Fri Sep 27 07:04:31 2013 +0000 |
tree | 2f789fffc7f39f617f9a68d259b1cf3c5e8ad083 | |
parent | bce8c928e888d2238523dafd670d3026e5682deb [diff] |
AST: Handle qualified array types in typeid() expressions The intent of getTypeOperand() was to yield an unqualified type. However QualType::getUnqualifiedType() does not strip away qualifiers on arrays. N.B. This worked fine when typeid() was applied to an expression because we would inject as implicit cast to the unqualified array type in the AST. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@191487 91177308-0d34-0410-b5e6-96231b3b80d8