commit | 2fa8c2598c2615da4639b4e42e9079647bd3aea4 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Tue Mar 17 22:51:02 2009 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Tue Mar 17 22:51:02 2009 +0000 |
tree | e472d46520b4621b3e95c5a0ea64ec964c995843 | |
parent | 5c3c1d7b494660ba5e8983ee4584622750725ac2 [diff] |
Fix Type::getDesugaredType() to remove all direct sugar on a type. For example, if we have a typedef of a typeof of int, we strip all the say down to int. This allows us to simplify the getAs* methods, and is the first step towards fixing PR3817 git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@67126 91177308-0d34-0410-b5e6-96231b3b80d8