[PATCH] D82626: [CodeComplete] Tweak completion for else.
Nathan James via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Jun 26 01:04:12 PDT 2020
njames93 created this revision.
njames93 added reviewers: sammccall, kadircet.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
If an `if` statement uses braces for its `then` block, suggest braces for the `else` and `else if` completion blocks, Otherwise don't suggest them.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D82626
Files:
clang/include/clang/Sema/Sema.h
clang/lib/Parse/ParseStmt.cpp
clang/lib/Sema/SemaCodeComplete.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D82626.273605.patch
Type: text/x-patch
Size: 4693 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20200626/72ad25dc/attachment.bin>
More information about the cfe-commits
mailing list