[PATCH] D61589: [CodeComplete] Add a trailing semicolons to some pattern completions
Ilya Biryukov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Mon May 6 05:25:08 PDT 2019
ilya-biryukov created this revision.
ilya-biryukov added a reviewer: gribozavr.
Herald added a project: clang.
Where semicolon is required in any case. Here's a list of completions
that now have a semicolon:
- namespace <name> = <target>;
- using namespace <name>;
- using <qualifier>::<name>;
- continue;
- break;
- goto <label>;
- return;
- return <expression>;
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D61589
Files:
clang/lib/Sema/SemaCodeComplete.cpp
clang/test/CodeCompletion/ordinary-name-cxx11.cpp
clang/test/CodeCompletion/ordinary-name.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D61589.198252.patch
Type: text/x-patch
Size: 11657 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190506/40d11929/attachment-0001.bin>
More information about the cfe-commits
mailing list