commit | a1923f6d95601582f4a5c3924b8e1c5ac3f658b3 | [log] [tgz] |
---|---|---|
author | Chris Lattner <sabre@nondot.org> | Mon Aug 04 07:31:14 2008 +0000 |
committer | Chris Lattner <sabre@nondot.org> | Mon Aug 04 07:31:14 2008 +0000 |
tree | d20bfdf2549bd5906f9e6347e7576871205f6453 | |
parent | aec507a39f93b94d9319960b135bc2b0f76980bf [diff] |
Finally fix PR2189. This makes a fairly invasive but important change to move getAsArrayType into ASTContext instead of being a method on type. This is required because getAsArrayType(const AT), where AT is a typedef for "int[10]" needs to return ArrayType(const int, 10). Fixing this greatly simplifies getArrayDecayedType, which is a good sign. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@54317 91177308-0d34-0410-b5e6-96231b3b80d8