]> granicus.if.org Git - clang/commit
PR26423: Assert on valid use of using declaration of a function with an undeduced...
authorDavid Blaikie <dblaikie@gmail.com>
Fri, 5 Aug 2016 19:03:01 +0000 (19:03 +0000)
committerDavid Blaikie <dblaikie@gmail.com>
Fri, 5 Aug 2016 19:03:01 +0000 (19:03 +0000)
commit7eec7194665d48fb270d0d937923c203c0ccabbc
treeddcb27df4e0e6f6d33a0ad601ccc8293e6dd7808
parent26dcf20c7ce4bda48715f4a25ddac2bab2bd7a36
PR26423: Assert on valid use of using declaration of a function with an undeduced auto return type

For now just disregard the using declaration in this case. Suboptimal,
but wiring up the ability to have declarations of functions that are
separate from their definition (we currently only do that for member
functions) and have differing return types (we don't have any support
for that) is more work than seems reasonable to at least fix this crash.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@277852 91177308-0d34-0410-b5e6-96231b3b80d8
lib/CodeGen/CGDebugInfo.cpp
test/CodeGenCXX/debug-info-cxx1y.cpp