[all-commits] [llvm/llvm-project] b34b76: Syntax tree: ignore implicit expressions at the to...
Dmitri Gribenko via All-commits
all-commits at lists.llvm.org
Wed Jun 3 02:00:33 PDT 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: b34b7691facd89022e7fee174debdbd2bf7920f3
https://github.com/llvm/llvm-project/commit/b34b7691facd89022e7fee174debdbd2bf7920f3
Author: Dmitri Gribenko <gribozavr at gmail.com>
Date: 2020-06-03 (Wed, 03 Jun 2020)
Changed paths:
M clang/lib/Tooling/Syntax/BuildTree.cpp
M clang/unittests/Tooling/Syntax/TreeTest.cpp
Log Message:
-----------
Syntax tree: ignore implicit expressions at the top level of statements
Summary:
I changed `markStmtChild` to ignore implicit expressions the same way as
`markExprChild` does it already. The test that I modified crashes
without this change.
Reviewers: hlopko, eduucaldas
Reviewed By: hlopko, eduucaldas
Subscribers: gribozavr2, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D81019
More information about the All-commits
mailing list