llvm-project/clang/include/clang
Artem Dergachev f301096f51 [analyzer] NFC: CallDescription: Implement describing C library functions.
When matching C standard library functions in the checker, it's easy to forget
that they are often implemented as macros that are expanded to builtins.

Such builtins would have a different name, so matching the callee identifier
would fail, or may sometimes have more arguments than expected, so matching
the exact number of arguments would fail, but this is fine as long as we have
all the arguments that we need in their respective places.

This patch adds a set of flags to the CallDescription class so that to handle
various special matching rules, and adds the first flag into this set,
which enables a more fuzzy matching for functions that
may be implemented as compiler builtins.

Differential Revision: https://reviews.llvm.org/D62556

llvm-svn: 364867
2019-07-01 23:02:07 +00:00
..
ARCMigrate Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
AST [ASTImporter] Mark erroneous nodes in shared st 2019-07-01 15:37:07 +00:00
ASTMatchers [clang] Adapt ASTMatcher to explicit(bool) specifier 2019-06-19 18:27:56 +00:00
Analysis [analyzer] print() JSONify: CFG implementation 2019-05-29 18:29:31 +00:00
Basic [Clang] Remove unused -split-dwarf and obsolete -enable-split-dwarf 2019-06-26 21:36:35 +00:00
CodeGen [COFF, ARM64] Fix ABI implementation of struct returns 2019-05-03 21:12:24 +00:00
Config Moved everything SMT-related to LLVM and updated the cmake scripts. 2019-03-25 17:47:45 +00:00
CrossTU [ASTImporter] Mark erroneous nodes in shared st 2019-07-01 15:37:07 +00:00
Driver [Driver] Fix style issues of --print-supported-cpus after D63105 2019-06-29 01:24:36 +00:00
Edit Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Format clang-format: better handle namespace macros 2019-06-06 20:06:23 +00:00
Frontend BitStream reader: propagate errors 2019-06-26 19:50:12 +00:00
FrontendTool Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Index [clang][AST] ASTNameGenerator: A refactoring of CodegenNameGeneratorImpl (NFC). 2019-06-19 20:51:35 +00:00
Lex Add clang source minimizer that reduces source to directives 2019-06-03 22:59:17 +00:00
Parse Rearrange and clean up how we disambiguate lambda-introducers from ObjC 2019-05-20 18:01:54 +00:00
Rewrite Update the file headers across all of the LLVM projects in the monorepo 2019-01-19 08:50:56 +00:00
Sema [OPENMP]Fix handling of lambda captures in target regions. 2019-07-01 17:46:52 +00:00
Serialization BitStream reader: propagate errors 2019-06-26 19:50:12 +00:00
StaticAnalyzer [analyzer] NFC: CallDescription: Implement describing C library functions. 2019-07-01 23:02:07 +00:00
Tooling [clang-scan-deps] Introduce the DependencyScanning library with the 2019-06-26 21:11:51 +00:00
CMakeLists.txt
module.modulemap [Nios2] Remove Nios2 backend 2019-01-15 19:58:36 +00:00