[all-commits] [llvm/llvm-project] 52ff86: [AST] Fix traversal over CXXConstructExpr in Synta...

Stephen Kelly via All-commits all-commits at lists.llvm.org
Fri Oct 30 05:15:01 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 52ff86d25598175d3304498b14c0f6c780e46ae3
      https://github.com/llvm/llvm-project/commit/52ff86d25598175d3304498b14c0f6c780e46ae3
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2020-10-30 (Fri, 30 Oct 2020)

  Changed paths:
    M clang/lib/AST/Expr.cpp
    M clang/lib/AST/ParentMapContext.cpp
    M clang/unittests/AST/ASTTraverserTest.cpp
    M clang/unittests/ASTMatchers/ASTMatchersTraversalTest.cpp

  Log Message:
  -----------
  [AST] Fix traversal over CXXConstructExpr in Syntactic mode

Summary:
Skip over elidable nodes, and ensure that intermediate
CXXFunctionalCastExpr nodes are also skipped if they are semantic.

Reviewers: klimek, ymandel

Subscribers: cfe-commits

Tags: #clang

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




More information about the All-commits mailing list