[all-commits] [llvm/llvm-project] 2de2ca: [SyntaxTree] Add support for `CallExpression`

Eduardo Caldas via All-commits all-commits at lists.llvm.org
Wed Aug 26 00:04:12 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 2de2ca348dfa09963eb33ddf71c9cbb59612c16a
      https://github.com/llvm/llvm-project/commit/2de2ca348dfa09963eb33ddf71c9cbb59612c16a
  Author: Eduardo Caldas <ecaldas at google.com>
  Date:   2020-08-26 (Wed, 26 Aug 2020)

  Changed paths:
    M clang/include/clang/Tooling/Syntax/Nodes.h
    M clang/lib/Tooling/Syntax/BuildTree.cpp
    M clang/lib/Tooling/Syntax/Nodes.cpp
    M clang/unittests/Tooling/Syntax/BuildTreeTest.cpp

  Log Message:
  -----------
  [SyntaxTree] Add support for `CallExpression`

* Generate `CallExpression` syntax node for all semantic nodes inheriting from
`CallExpr` with call-expression syntax - except `CUDAKernelCallExpr`.
* Implement all the accessors
* Arguments of `CallExpression` have their own syntax node which is based on
the `List` base API

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




More information about the All-commits mailing list