[all-commits] [llvm/llvm-project] 386fd2: [clang] Add matcher to identify macro expansions.
Yitzhak Mandelbaum via All-commits
all-commits at lists.llvm.org
Tue Feb 4 08:44:01 PST 2020
Branch: refs/heads/master
Home: https://github.com/llvm/llvm-project
Commit: 386fd2c170a78798a097650b8714183d5a9d93c6
https://github.com/llvm/llvm-project/commit/386fd2c170a78798a097650b8714183d5a9d93c6
Author: Yitzhak Mandelbaum <yitzhakm at google.com>
Date: 2020-02-04 (Tue, 04 Feb 2020)
Changed paths:
M clang/include/clang/ASTMatchers/ASTMatchers.h
M clang/include/clang/ASTMatchers/ASTMatchersInternal.h
M clang/lib/ASTMatchers/ASTMatchersInternal.cpp
M clang/unittests/ASTMatchers/ASTMatchersNarrowingTest.cpp
Log Message:
-----------
[clang] Add matcher to identify macro expansions.
Summary:
This revision adds a matcher `isExpandedFromMacro` that determines whether a
statement is (transitively) expanded from a given macro.
Reviewers: gribozavr
Subscribers: cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D73965
More information about the All-commits
mailing list