aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/CodeGen.cpp
diff options
context:
space:
mode:
authorTom Roeder <tmroeder@google.com>2020-12-01 17:23:55 -0800
committerTom Roeder <tmroeder@google.com>2020-12-16 15:39:50 -0800
commit1844ab770cb9380a1896d83b1863b93766ffdf22 (patch)
treeb4ad1c3d576fc92f9c52e0385d314194dc61e78e /llvm/lib/CodeGen/CodeGen.cpp
parentf31e9bcd73eb5f99256a19ae8ed958140ba58a42 (diff)
downloadllvm-1844ab770cb9380a1896d83b1863b93766ffdf22.zip
llvm-1844ab770cb9380a1896d83b1863b93766ffdf22.tar.gz
llvm-1844ab770cb9380a1896d83b1863b93766ffdf22.tar.bz2
[ASTImporter] Add support for importing GenericSelectionExpr AST nodes.
This allows ASTs to be merged when they contain GenericSelectionExpr nodes (this is _Generic from C11). This is needed, for example, for CTU analysis of C code that makes use of _Generic, like the Linux kernel. 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. Additionally, this change adds support for structural equivalence of _Generic in the AST. Reviewed By: martong, aaron.ballman Differential Revision: https://reviews.llvm.org/D92600
Diffstat (limited to 'llvm/lib/CodeGen/CodeGen.cpp')
0 files changed, 0 insertions, 0 deletions