llvm-project/clang/lib
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
..
APINotes APINotes: add bitcode format schema definitions 2020-12-08 21:15:41 +00:00
ARCMigrate ARCMigrate: Migrate ObjCMT.cpp over to FileEntryRef 2020-12-09 14:16:05 -08:00
AST [ASTImporter] Add support for importing GenericSelectionExpr AST nodes. 2020-12-16 15:39:50 -08:00
ASTMatchers [ASTImporter] Add support for importing GenericSelectionExpr AST nodes. 2020-12-16 15:39:50 -08:00
Analysis [ASTImporter] Add support for importing GenericSelectionExpr AST nodes. 2020-12-16 15:39:50 -08:00
Basic [RISCV] Use default member initializers for the feature flags in RISCVTargetInfo. NFC 2020-12-15 12:37:47 -08:00
CodeGen [clang][AArch64][SVE] Avoid going through memory for VLAT <-> VLST casts 2020-12-16 12:24:32 +00:00
CrossTU Revert "[analyzer] NFC: Move path diagnostic consumer implementations to libAnalysis." 2020-12-11 10:16:13 +01:00
DirectoryWatcher Revert "ADT: Migrate users of AlignedCharArrayUnion to std::aligned_union_t, NFC" 2020-12-14 17:04:06 -08:00
Driver [clang-offload-bundler] Add option -allow-missing-bundles 2020-12-16 14:52:39 -05:00
Edit [clang] Use SourceLocation as key in hash maps, NFCI 2020-10-20 16:24:09 +01:00
Format [clang-format] Recognize c++ coroutine keywords as unary operator to avoid misleading pointer alignment 2020-12-15 20:50:46 +08:00
Frontend [clang][cli] Port DependencyOutput string based options to new option parsing system 2020-12-16 10:28:37 +01:00
FrontendTool [NFC] Refactor Registry loops to range for 2020-06-19 00:40:10 +01:00
Headers [X86] Convert fadd/fmul _mm_reduce_* intrinsics to emit llvm.reduction intrinsics (PR47506) 2020-12-13 15:37:35 +00:00
Index [PowerPC] Enable paired vector type and intrinsics when MMA is disabled 2020-12-15 15:14:11 -06:00
IndexSerialization [index-while-building] Fix build with -DBUILD_SHARED_LIBS=True 2020-08-20 15:12:56 +01:00
Lex Revert "Lex: Migrate HeaderSearch::LoadedModuleMaps to FileEntryRef" 2020-12-14 22:05:08 -05:00
Parse Print source location in the error message when parens are missing around sizeof typename and the expression is inside macro expansion 2020-12-16 12:03:31 -08:00
Rewrite SourceManager: Clarify that FileInfo always has a ContentCache, NFC 2020-10-23 12:38:53 -04:00
Sema Mark implicit coroutine variables as being implicit 2020-12-16 14:42:07 -05:00
Serialization [PowerPC] Enable paired vector type and intrinsics when MMA is disabled 2020-12-15 15:14:11 -06:00
StaticAnalyzer [DDG] Data Dependence Graph - DOT printer - recommit 2020-12-16 12:37:36 -05:00
Testing Fix MSVC "not all control paths return a value" warning. NFC. 2020-06-05 10:45:59 +01:00
Tooling Remove references to the ast_type_traits namespace 2020-12-11 00:58:46 +01:00
CMakeLists.txt APINotes: add APINotesYAMLCompiler 2020-11-05 18:55:13 +00:00