summaryrefslogtreecommitdiff
path: root/lib/CodeGen/CGExpr.cpp
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-10-08 16:58:52 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-10-08 16:58:52 +0000
commit5ce45c77fc986d13f8cf566b2c195c7cda8afde3 (patch)
treed2667d8ece791eb92c24fee2f95fb92200ea26e5 /lib/CodeGen/CGExpr.cpp
parent7949acf370bd3f1f47c15f29ecaa28b8797a9c1f (diff)
downloadclang-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