llvm-capstone/clang/lib
Kristóf Umann 32ac21d049 [NFC][analyzer] Allow CallDescriptions to be matched with CallExprs
Since CallDescriptions can only be matched against CallEvents that are created
during symbolic execution, it was not possible to use it in syntactic-only
contexts. For example, even though InnerPointerChecker can check with its set of
CallDescriptions whether a function call is interested during analysis, its
unable to check without hassle whether a non-analyzer piece of code also calls
such a function.

The patch adds the ability to use CallDescriptions in syntactic contexts as
well. While we already have that in Signature, we still want to leverage the
ability to use dynamic information when we have it (function pointers, for
example). This could be done with Signature as well (StdLibraryFunctionsChecker
does it), but it makes it even less of a drop-in replacement.

Differential Revision: https://reviews.llvm.org/D119004
2022-03-01 17:13:04 +01:00
..
Analysis [clang][dataflow] Add SAT solver interface and implementation 2022-02-25 14:46:52 +00:00
APINotes [clang][APINotes] Fix -Wunused-function warning (NFC) 2021-04-01 09:52:43 +08:00
ARCMigrate [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
AST [Clang] Remove redundant init-parens in AST print 2022-02-28 19:31:16 -06:00
ASTMatchers Add isConstinit matcher 2022-01-24 08:35:42 -05:00
Basic [NFC][Clang][AArch64] Clean up AArch64TargetInfo::hasFeature 2022-02-28 14:25:12 +00:00
CodeGen [OpenMPIRBuilder] Implement static-chunked workshare-loop schedules. 2022-02-28 18:18:33 -06:00
CrossTU Revert "[analyzer][ctu] Fix wrong 'multiple definitions' errors caused by space characters in lookup names when parsing the ctu index file" 2021-12-16 20:46:51 -05:00
DirectoryWatcher [clang] [DirectoryWatcher] Remove leading \\?\ from GetFinalPathNameByHandleW 2021-11-08 22:21:30 +02:00
Driver [Clang] Add -funstable flag to enable unstable and experimental features 2022-03-01 12:35:20 +00:00
Edit [clang] Use true/false instead of 1/0 (NFC) 2022-01-09 00:19:47 -08:00
Format [NFC][Lexer] Make Lexer::LangOpts const reference 2022-02-28 15:42:19 +01:00
Frontend [clang] Improve laziness of resolving module map headers. 2022-03-01 15:56:23 +01:00
FrontendTool [clang] Add an extract-api driver option 2022-01-26 11:31:12 -08:00
Headers [NVPTX] Fix nvvm.match.sync*.i64 intrinsics return type (i64 -> i32) 2022-03-01 12:26:16 +02:00
Index [clang] Visit enum base specifiers in libIndex 2021-10-25 13:16:14 +02:00
IndexSerialization
Interpreter [C++20][Modules][1/8] Track valid import state. 2022-02-21 09:09:37 +00:00
Lex [clang] Improve laziness of resolving module map headers. 2022-03-01 15:56:23 +01:00
Parse [c++2b] Implement P0849R8 auto(x) 2022-02-28 19:21:08 -06:00
Rewrite Add assert on End iteration distance to Rewriter::getRewrittenText. 2022-01-25 17:26:13 +00:00
Sema [C++20][Modules][8/8] Amend module visibility rules for partitions. 2022-03-01 08:29:05 +00:00
Serialization [clang] Improve laziness of resolving module map headers. 2022-03-01 15:56:23 +01:00
StaticAnalyzer [NFC][analyzer] Allow CallDescriptions to be matched with CallExprs 2022-03-01 17:13:04 +01:00
Testing
Tooling [NFC] Don't pass temporary LangOptions to Lexer 2022-02-28 20:43:28 +01:00
CMakeLists.txt [clang-repl] Recommit "Land initial infrastructure for incremental parsing" 2021-05-13 06:30:29 +00:00