commit | 5ce45c77fc986d13f8cf566b2c195c7cda8afde3 | [log] [tgz] |
---|---|---|
author | Benjamin Kramer <benny.kra@googlemail.com> | Tue Oct 08 16:58:52 2013 +0000 |
committer | Benjamin Kramer <benny.kra@googlemail.com> | Tue Oct 08 16:58:52 2013 +0000 |
tree | d2667d8ece791eb92c24fee2f95fb92200ea26e5 | |
parent | 7949acf370bd3f1f47c15f29ecaa28b8797a9c1f [diff] |
Fix an edge case in the template differ with default arguments. In the test case one type is coming from a typedef with no default arg, the other has the default arg. Taking the default arg from the typedef crashes, so always use the real template paramter declaration. PR17510. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@192202 91177308-0d34-0410-b5e6-96231b3b80d8