]> granicus.if.org Git - clang/commit
[CodeCompletion] Don't crash on member inits of templated constructors.
authorBenjamin Kramer <benny.kra@googlemail.com>
Thu, 9 Jul 2015 15:31:10 +0000 (15:31 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Thu, 9 Jul 2015 15:31:10 +0000 (15:31 +0000)
commite2948658dcabc0724f3d62089d04c88fc4d462dd
treedb6c7d991a77fa418fa265c7c8adeb33dd9b80a0
parent78932e68d458fdcb687d42bb23f51277c4bd9915
[CodeCompletion] Don't crash on member inits of templated constructors.

Also fixes a crash (on invalid) member functions with a colon
initializer. PR23948.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@241811 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/SemaCodeComplete.cpp
test/Index/complete-ctor-inits.cpp