]> granicus.if.org Git - clang/commit
Fixed a crash in code completion.
authorIlya Biryukov <ibiryukov@google.com>
Fri, 8 Sep 2017 13:36:38 +0000 (13:36 +0000)
committerIlya Biryukov <ibiryukov@google.com>
Fri, 8 Sep 2017 13:36:38 +0000 (13:36 +0000)
commit78a32be113e2f01f214275598a0ece1c48f89849
tree022adbdf560994dffa5a7fa2f98fef6da4aa9eb7
parent0abc73f06cef0b9d73cb139f410cc23f53348ae4
Fixed a crash in code completion.

Summary: The crash occured when FunctionDecl was parsed with an initializer.

Reviewers: bkramer, klimek, francisco.lopes

Reviewed By: bkramer

Subscribers: cfe-commits

Differential Revision: https://reviews.llvm.org/D37382

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@312788 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Parse/ParseDecl.cpp
test/CodeCompletion/crash-func-init.cpp [new file with mode: 0644]