]> granicus.if.org Git - clang/commit
Fix a crazy canonical-types bug because canonicalizing a
authorDouglas Gregor <dgregor@apple.com>
Fri, 30 Oct 2009 22:56:57 +0000 (22:56 +0000)
committerDouglas Gregor <dgregor@apple.com>
Fri, 30 Oct 2009 22:56:57 +0000 (22:56 +0000)
commit87a924e37dc40c6e3e2b33d1dbd646aeccf4c15b
treee16bb7592bd77b4b91cbd0407f478ea6d033acf7
parent682054c52e8e7ebd7280e13d2cb26f8a9a17485a
Fix a crazy canonical-types bug because canonicalizing a
dependently-sized array type with a given expression might end up
returning a non-canonical type; see through that non-canonical type to
the underlying canonical type. Yes, I have a test case; no, I can't
reduce it to the point where it's worth checking in :(

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@85633 91177308-0d34-0410-b5e6-96231b3b80d8
lib/AST/ASTContext.cpp