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 | 3b05e20031bcd9fbdc4f65ef1ada3e887f9daeaf (patch) | |
| tree | 836211894d6d830d2de875527e50f5d5d5800f4a /clang/lib/Sema/SemaCodeComplete.cpp | |
| parent | 22d6ac7e9a8180157044a33732c23125aa99fcb5 (diff) | |
| download | bcm5719-llvm-3b05e20031bcd9fbdc4f65ef1ada3e887f9daeaf.tar.gz bcm5719-llvm-3b05e20031bcd9fbdc4f65ef1ada3e887f9daeaf.zip | |
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.
llvm-svn: 192202
Diffstat (limited to 'clang/lib/Sema/SemaCodeComplete.cpp')
0 files changed, 0 insertions, 0 deletions

