llvm-project/clang/test/ASTMerge
Tom Roeder 1844ab770c [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
2020-12-16 15:39:50 -08:00
..
APValue [clang] Improve Serialization/Imporing/Dumping of APValues 2020-10-21 19:03:13 +02:00
anonymous-fields
asm
attr Revert "[ASTImporter] Fix crash caused by unset AttributeSpellingListIndex" 2020-10-14 17:21:56 -07:00
category
choose-expr
class
class-template [clang] Make handling of unnamed template params similar to function params 2019-10-01 14:08:51 +00:00
class-template-partial-spec [ASTImporter] Store import errors for Decls 2019-06-25 08:00:51 +00:00
class2
codegen-body
codegen-exprs
enum
exprs
exprs-cpp Give the 'signed/unsigned wchar_t' extension a warning flag, and follow 2019-07-29 20:00:46 +00:00
function
function-cpp
generic-selection-expr [ASTImporter] Add support for importing GenericSelectionExpr AST nodes. 2020-12-16 15:39:50 -08:00
inheritance
init-ctors
injected-class-name-decl
interface
macro
namespace
property
std-initializer-list
struct [ASTImporter][AST] Fix structural equivalency crash on dependent FieldDecl 2020-10-05 14:06:09 +02:00
typedef
unnamed_fields
var
var-cpp