[CodeComplete] Add code completion after function equals
authorlh123 <1585086582@qq.com>
Thu, 25 Jun 2020 12:04:18 +0000 (20:04 +0800)
committerlh123 <1585086582@qq.com>
Wed, 1 Jul 2020 04:51:25 +0000 (12:51 +0800)
commit83fae3f762699655a4329fe3cf6fd3e2a2617559
treedcdfb1153d7f331095aeabb42356f1ae080bdde0
parentca134e4c525babf0c414c78fb53d648fbee364d8
[CodeComplete] Add code completion after function equals

Summary:
Provide `default` and `delete` completion after the function equals.

Reviewers: kadircet, sammccall

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82548
clang/include/clang/Sema/Sema.h
clang/lib/Parse/ParseDecl.cpp
clang/lib/Parse/ParseDeclCXX.cpp
clang/lib/Sema/SemaCodeComplete.cpp
clang/test/CodeCompletion/after-function-equals.cpp [new file with mode: 0644]