Richard Smith
e518235aca
Factor out commonality between variable capture initialization and
...
'this' capture initialization.
llvm-svn: 362317
2019-06-02 04:00:43 +00:00
Richard Smith
b5a45bb77e
Defer building 'this' captures until we have left the capturing region
...
and returned to the context in which 'this' should be captured.
This means we now always mark 'this' referenced from the context in
which it's actually referenced, rather than potentially from some
context nested within that.
llvm-svn: 362182
2019-05-31 01:17:04 +00:00
Richard Smith
d103bc31d7
Fix r361893 to also update a recently-added test.
...
llvm-svn: 361895
2019-05-28 23:20:52 +00:00
Aaron Ballman
e091ab1b2d
When dumping the AST to JSON, dump the type information from a typeid expression with a type operand.
...
llvm-svn: 361769
2019-05-27 14:34:31 +00:00
Aaron Ballman
1b0ae8f05f
When dumping the AST to JSON, dump whether a function is variadic or not.
...
llvm-svn: 361768
2019-05-27 14:29:10 +00:00
Aaron Ballman
e7b3b80fb1
When dumping the AST to JSON, dump the declared name of a MemberExpr operand.
...
llvm-svn: 361767
2019-05-27 14:25:04 +00:00
Aaron Ballman
bcc0cedf77
When dumping the AST to JSON, dump the argument name to a sizeof pack expression.
...
llvm-svn: 361766
2019-05-27 14:17:32 +00:00
Aaron Ballman
80d5d168fd
Add test cases for dumping AST expression nodes to JSON; NFC.
...
llvm-svn: 361764
2019-05-27 14:12:48 +00:00