Alex Hoppen
a5a17aa955
[tests] Add a %batch-code-completion lit substitution
...
I could never remember the command to run batch code completion tests. Add a lit substitution for it.
2023-09-18 13:57:49 -07:00
Doug Gregor
7d9b304352
[Macros] Fix odd test case
...
The implementation was previously finding the wrong macro declaration,
leading to incorrect results recorded as the expected results.
2023-07-25 15:29:31 -07:00
Alex Hoppen
7e4b88bd04
[CodeCompletion] Provide argument label completions inside #externalMacro
...
rdar://108163809
rdar://108681394
2023-05-01 16:10:14 -07:00
Alex Hoppen
237c70ea9c
[CodeComplete] Offer completion suggestions for default argument values inside the macro declaration
...
We were not type checking the default argument initializer because `MacroDecl` is not an `AbstractFucntionDecl`. Add `MacroDecl` to the list of nodes we know how to get parameters from.
rdar://108163564
2023-05-01 13:48:18 -07:00