Revision tags: llvmorg-4.0.1, llvmorg-4.0.1-rc3 |
|
#
be3ba9da |
| 07-Jun-2017 |
Galina Kistanova <gkistanova@gmail.com> |
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304872
|
#
33399113 |
| 03-Jun-2017 |
Galina Kistanova <gkistanova@gmail.com> |
Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC.
llvm-svn: 304651
|
Revision tags: llvmorg-4.0.1-rc2 |
|
#
e6afa397 |
| 11-May-2017 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Provide member completions for dependent expressions whose type is a TemplateSpecializationType or InjectedClassNameType
Fixes PR30847. Partially fixes PR20973 (first position only)
[CodeCompletion] Provide member completions for dependent expressions whose type is a TemplateSpecializationType or InjectedClassNameType
Fixes PR30847. Partially fixes PR20973 (first position only).
PR17614 is still not working, its expression has the dependent builtin type. We'll have to teach the completion engine how to "resolve" dependent expressions to fix it.
rdar://29818301
llvm-svn: 302797
show more ...
|
#
0fe0d985 |
| 11-May-2017 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] NFC, extract a function that generates member completion results for records
llvm-svn: 302796
|
#
f7f6f823 |
| 09-May-2017 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Complete platform names in @available expressions
rdar://32074504
llvm-svn: 302545
|
Revision tags: llvmorg-4.0.1-rc1 |
|
#
f1898cfa |
| 28-Mar-2017 |
Erik Verbruggen <erikjv@me.com> |
[libclang] Fix crash in member access code completion with implicit base
If there is an unresolved member access AST node, and the base is implicit, do not access/use it for generating candidate ove
[libclang] Fix crash in member access code completion with implicit base
If there is an unresolved member access AST node, and the base is implicit, do not access/use it for generating candidate overloads for code completion results.
Fixes PR31093.
llvm-svn: 298903
show more ...
|
#
6bf4a58b |
| 13-Mar-2017 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Format block parameter placeholders in implicit property setters using the block type information that's obtained from the property
rdar://12604235
llvm-svn: 297628
|
Revision tags: llvmorg-4.0.0, llvmorg-4.0.0-rc4, llvmorg-4.0.0-rc3 |
|
#
46eed9d6 |
| 13-Feb-2017 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Code complete the '__auto_type' keyword
rdar://29219185
llvm-svn: 295003
|
#
8f4d399c |
| 13-Feb-2017 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Code complete the missing C++11 keywords
This commit adds context sensitive code completion support for the C++11 keywords that currently don't have completion results.
The followi
[CodeCompletion] Code complete the missing C++11 keywords
This commit adds context sensitive code completion support for the C++11 keywords that currently don't have completion results.
The following keywords are supported by this patch:
alignas constexpr static_assert noexcept (as a function/method qualifier) thread_local
The following special identifiers are also supported:
final (as a method qualifier or class qualifier) override
rdar://29219185
Differential Revision: https://reviews.llvm.org/D28286
llvm-svn: 295001
show more ...
|
Revision tags: llvmorg-4.0.0-rc2 |
|
#
35845150 |
| 07-Feb-2017 |
Richard Smith <richard-llvm@metafoo.co.uk> |
P0091R3: Implement basic parsing support for C++17 deduction-guides.
We model deduction-guides as functions with a new kind of name that identifies the template whose deduction they guide; the bulk
P0091R3: Implement basic parsing support for C++17 deduction-guides.
We model deduction-guides as functions with a new kind of name that identifies the template whose deduction they guide; the bulk of this patch is adding the new name kind. This gives us a clean way to attach an extensible list of guides to a class template in a way that doesn't require any special handling in AST files etc (and we're going to need these functions we come to performing deduction).
llvm-svn: 294266
show more ...
|
#
638dbc30 |
| 24-Jan-2017 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Ensure that ObjC root class completes instance methods from protocols and categories as well
Code completion results for class methods already include instance methods from Objectiv
[CodeCompletion] Ensure that ObjC root class completes instance methods from protocols and categories as well
Code completion results for class methods already include instance methods from Objective-C root classes. This commit ensures that the results also include instance methods from protocols that the root class implements and root class categories as well.
rdar://28012953
Differential Revision: https://reviews.llvm.org/D27257
llvm-svn: 292932
show more ...
|
Revision tags: llvmorg-4.0.0-rc1 |
|
#
6e0f393e |
| 06-Jan-2017 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Block property setters: Use dynamic priority heuristic
Now when completing blocks properties that return void the block call completion result shows up before the setter, otherwise
[CodeCompletion] Block property setters: Use dynamic priority heuristic
Now when completing blocks properties that return void the block call completion result shows up before the setter, otherwise the setter completion shows up before the block call completion. We normally want to use the result of the block call, so one typically wouldn't call a block that returns a non-void type in a standalone statement.
rdar://28846153
Differential Revision: https://reviews.llvm.org/D26034
llvm-svn: 291232
show more ...
|
#
847fda14 |
| 03-Jan-2017 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Autocomplete NS_DESIGNATED_INITIALIZER in initializers with arguments
rdar://21014571
Differential Revision: https://reviews.llvm.org/D27039
llvm-svn: 290879
|
#
71ecb07e |
| 08-Dec-2016 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion][ObjC] Use a parameterized NSSet return type for keyPathsForValuesAffecting* KVO completion results
rdar://23791701
llvm-svn: 289068
|
#
feafdf6b |
| 08-Dec-2016 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Provide Objective-C class property completion results
This commit provides class property code completion results. It supports explicit and implicit class properties, but the specia
[CodeCompletion] Provide Objective-C class property completion results
This commit provides class property code completion results. It supports explicit and implicit class properties, but the special block completion is done only for explicit properties right now.
rdar://25636195
Differential Revision: https://reviews.llvm.org/D27053
llvm-svn: 289058
show more ...
|
Revision tags: llvmorg-3.9.1, llvmorg-3.9.1-rc3, llvmorg-3.9.1-rc2, llvmorg-3.9.1-rc1 |
|
#
01bcfc14 |
| 23-Nov-2016 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Fix incorrect Objective-C block parameter formatting
This commit fixes an incorrectly formatted Objective-C block parameter placeholder in a code completion result. The incorrect pa
[CodeCompletion] Fix incorrect Objective-C block parameter formatting
This commit fixes an incorrectly formatted Objective-C block parameter placeholder in a code completion result. The incorrect parameter had a redundant leading parenthesis.
rdar://25224416
llvm-svn: 287771
show more ...
|
#
baef802f |
| 09-Nov-2016 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Show block invocation results for block property setters
This commit changes the code completion results for block property setters: The default block property result is now a block
[CodeCompletion] Show block invocation results for block property setters
This commit changes the code completion results for block property setters: The default block property result is now a block invocation rather than a simple property reference.
rdar://28846196
Differential Revision: https://reviews.llvm.org/D26071
llvm-svn: 286363
show more ...
|
#
d211c648 |
| 04-Nov-2016 |
Olivier Goffart <ogoffart@woboq.com> |
[index] Expose FriendDecl
Differential Revision: https://reviews.llvm.org/D26285
llvm-svn: 285984
|
#
ede11636 |
| 04-Nov-2016 |
Chandler Carruth <chandlerc@gmail.com> |
Remove no-op checks for a null CodeCompleter. We have already dereferenced the pointer at this point, and these routines are exclusively called after the parser encounters a code completion token. Ot
Remove no-op checks for a null CodeCompleter. We have already dereferenced the pointer at this point, and these routines are exclusively called after the parser encounters a code completion token. Other code completion routines called at that point do not check for null either, so this is clearly the current invariant expected in the code.
This fixes another PVS-Studio found issue.
llvm-svn: 285980
show more ...
|
#
f0b4e5db |
| 18-Oct-2016 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Add a block property setter completion result
This commit changes code completion results for Objective-C block properties: clang now suggests an additional completion result that d
[CodeCompletion] Add a block property setter completion result
This commit changes code completion results for Objective-C block properties: clang now suggests an additional completion result that displays the block property together with '=' and the block literal placeholder for the appropriate readwrite block properties.
This commit uses a simple heuristic to determine when it's appropriate to suggest a setter completion for block properties: the additional block setter completion is provided iff the member access that's being completed is a standalone statement.
rdar://28481726
Differential Revision: https://reviews.llvm.org/D25520
llvm-svn: 284472
show more ...
|
#
920ae143 |
| 18-Oct-2016 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion][NFC] Extract a function that formats block placeholders.
This commit extracts a new function named `formatBlockPlaceholder` from the function `FormatFunctionParameter` so that it ca
[CodeCompletion][NFC] Extract a function that formats block placeholders.
This commit extracts a new function named `formatBlockPlaceholder` from the function `FormatFunctionParameter` so that it can be reused in follow-up commits that improve code completion for block property setters.
Differential Revision: https://reviews.llvm.org/D25519
llvm-svn: 284468
show more ...
|
#
a1951202 |
| 18-Oct-2016 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion][NFC] Extract a function that looks for block decl type locs.
This commit extracts a new function named `findTypeLocationForBlockDecl` from the function `FormatFunctionParameter` so
[CodeCompletion][NFC] Extract a function that looks for block decl type locs.
This commit extracts a new function named `findTypeLocationForBlockDecl` from the function `FormatFunctionParameter` so that it can be reused in follow-up commits that improve code completion for block property setters.
Differential Revision: https://reviews.llvm.org/D25519
llvm-svn: 284467
show more ...
|
#
06cfa992 |
| 12-Oct-2016 |
Alex Lorenz <arphaman@gmail.com> |
[CodeCompletion] Show protocol properties that are accessed through qualified id
This commit improves code completion for properties that are declared in Objective-C protocols by making sure that pr
[CodeCompletion] Show protocol properties that are accessed through qualified id
This commit improves code completion for properties that are declared in Objective-C protocols by making sure that properties show up in completions when they are accessed through a qualified id.
rdar://24426041
Differential Revision: https://reviews.llvm.org/D25436
llvm-svn: 284007
show more ...
|
Revision tags: llvmorg-3.9.0, llvmorg-3.9.0-rc3, llvmorg-3.9.0-rc2, llvmorg-3.9.0-rc1 |
|
#
5d8006d2 |
| 01-Jul-2016 |
Argyrios Kyrtzidis <akyrtzi@gmail.com> |
[CodeCompletion] Allow system headers providing private symbols with a single underscore.
rdar://24677150
llvm-svn: 274314
|
#
59f77921 |
| 24-Jun-2016 |
David Majnemer <david.majnemer@gmail.com> |
Use more ArrayRefs
No functional change is intended, just a small refactoring.
llvm-svn: 273647
|