summaryrefslogtreecommitdiff
path: root/clang/test/CodeCompletion/patterns.cpp
AgeCommit message (Collapse)Author
2020-06-30[CodeComplete] Tweak completion for else.Nathan James
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
2020-01-10[CodeComplete] Suggest 'return nullptr' in functions returning pointersIlya Biryukov
Reviewers: kadircet Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D72497
2019-05-27[CodeComplete] Complete 'return true/false' in boolean functionsIlya Biryukov
Reviewers: kadircet Reviewed By: kadircet Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D62391 llvm-svn: 361753
2019-05-06[CodeComplete] Add a trailing semicolons to some pattern completionsIlya Biryukov
Summary: 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>; Reviewers: gribozavr Reviewed By: gribozavr Subscribers: cfe-commits Tags: #clang Differential Revision: https://reviews.llvm.org/D61589 llvm-svn: 360042