diff options
| author | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-08 16:58:52 +0000 |
|---|---|---|
| committer | Benjamin Kramer <benny.kra@googlemail.com> | 2013-10-08 16:58:52 +0000 |
| commit | 5ce45c77fc986d13f8cf566b2c195c7cda8afde3 (patch) | |
| tree | d2667d8ece791eb92c24fee2f95fb92200ea26e5 /lib/CodeGen/CGExpr.cpp | |
| parent | 7949acf370bd3f1f47c15f29ecaa28b8797a9c1f (diff) | |
| download | clang-5ce45c77fc986d13f8cf566b2c195c7cda8afde3.tar.gz clang-5ce45c77fc986d13f8cf566b2c195c7cda8afde3.tar.bz2 clang-5ce45c77fc986d13f8cf566b2c195c7cda8afde3.tar.xz | |
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
Diffstat (limited to 'lib/CodeGen/CGExpr.cpp')
0 files changed, 0 insertions, 0 deletions
