[all-commits] [llvm/llvm-project] f5087d: [SyntaxTree] Fix crash on functions with default a...

Eduardo Caldas via All-commits all-commits at lists.llvm.org
Tue Sep 8 02:54:47 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f5087d5c7248104b6580c7b079ed5f227332c2ef
      https://github.com/llvm/llvm-project/commit/f5087d5c7248104b6580c7b079ed5f227332c2ef
  Author: Eduardo Caldas <ecaldas at google.com>
  Date:   2020-09-08 (Tue, 08 Sep 2020)

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

  Log Message:
  -----------
  [SyntaxTree] Fix crash on functions with default arguments.

* Do not visit `CXXDefaultArgExpr`
* To build `CallArguments` nodes, just go through non-default arguments

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




More information about the All-commits mailing list