diff options
author | Tom Roeder <tmroeder@google.com> | 2019-02-25 23:24:58 +0000 |
---|---|---|
committer | Tom Roeder <tmroeder@google.com> | 2019-02-25 23:24:58 +0000 |
commit | 9a72870122394dbdfde5b93555e4409f81a4024e (patch) | |
tree | 7c4c8d9e9ddc17fee7b632191552c70ee7e1efa6 /llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp | |
parent | 17aec7bd369be14626102a59dff9d88380fd367a (diff) | |
download | llvm-9a72870122394dbdfde5b93555e4409f81a4024e.zip llvm-9a72870122394dbdfde5b93555e4409f81a4024e.tar.gz llvm-9a72870122394dbdfde5b93555e4409f81a4024e.tar.bz2 |
[ASTImporter] Add support for importing ChooseExpr AST nodes.
Summary:
This allows ASTs to be merged when they contain ChooseExpr (the GNU
__builtin_choose_expr construction). This is needed, for example, for
cross-CTU analysis of C code that makes use of __builtin_choose_expr.
The node is already supported in the AST, but it didn't have a matcher
in ASTMatchers. So, this change adds the matcher and adds support to
ASTImporter.
Reviewers: shafik, a_sidorin, martong, aaron.ballman
Subscribers: aaron.ballman, rnkovacs, jdoerfert, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D58292
llvm-svn: 354832
Diffstat (limited to 'llvm/lib/ProfileData/Coverage/CoverageMappingReader.cpp')
0 files changed, 0 insertions, 0 deletions