HomePhabricator

[CodeComplete] Tweak completion for else.

Authored by njames93 on Jun 30 2020, 8:48 AM.

Description

[CodeComplete] Tweak completion for else.

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.

Reviewed By: sammccall

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

Details

Committed
njames93Jun 30 2020, 8:48 AM
Reviewer
sammccall
Differential Revision
D82626: [CodeComplete] Tweak completion for else.
Parents
rG2efba0e8122a: [clang-tidy] performance-faster-string-find string-view
Branches
Unknown
Tags
Unknown