[all-commits] [llvm/llvm-project] f29204: NFC: Implement AST node skipping in ParentMapContext

Stephen Kelly via All-commits all-commits at lists.llvm.org
Sun Jan 26 10:35:52 PST 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: f29204d3888897dc5b6fec83df5f2a77aff17173
      https://github.com/llvm/llvm-project/commit/f29204d3888897dc5b6fec83df5f2a77aff17173
  Author: Stephen Kelly <steveire at gmail.com>
  Date:   2020-01-26 (Sun, 26 Jan 2020)

  Changed paths:
    M clang/include/clang/AST/ParentMapContext.h
    M clang/lib/AST/ParentMapContext.cpp

  Log Message:
  -----------
  NFC: Implement AST node skipping in ParentMapContext

Summary:
This allows ASTContext to store only one parent map, rather than storing
an entire parent map for each traversal mode used.

This is therefore a partial revert of commit 0a717d5b (Make it possible
control matcher traversal kind with ASTContext, 2019-12-06).

Reviewers: aaron.ballman, rsmith, rnk

Subscribers: cfe-commits

Tags: #clang

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




More information about the All-commits mailing list