llvm-project/clang/unittests
Sam Estep 2efc8f8d65 [clang][dataflow] Add an option for context-sensitive depth
This patch adds a `Depth` field (default value 2) to `ContextSensitiveOptions`, allowing context-sensitive analysis of functions that call other functions. This also requires replacing the `DeclCtx` field on `Environment` with a `CallString` field that contains a vector of decl contexts, to ensure that the analysis doesn't try to analyze recursive or mutually recursive calls (which would result in a crash, due to the way we handle `StorageLocation`s).

Reviewed By: xazax.hun

Differential Revision: https://reviews.llvm.org/D131809
2022-08-15 19:58:40 +00:00
..
AST [AST] [Modules] Introduce Decl::getNonTransparentDeclContext to handle exported friends 2022-08-12 11:50:35 +08:00
ASTMatchers Revert "[clang] Pass FoundDecl to DeclRefExpr creator for operator overloads" 2022-08-04 12:14:43 +02:00
Analysis [clang][dataflow] Add an option for context-sensitive depth 2022-08-15 19:58:40 +00:00
Basic [clang] Fix redirection behaviour for cached FileEntryRef 2022-08-05 12:23:38 -07:00
CodeGen [CGDebugInfo] Access the current working directory from the `VFS` 2022-07-26 13:48:39 -07:00
CrossTU [analyzer][ctu] Fix wrong 'multiple definitions' errors caused by space characters in lookup names when parsing the ctu index file 2022-03-22 10:28:42 +08:00
DirectoryWatcher [clang] Use value instead of getValue (NFC) 2022-07-13 23:39:33 -07:00
Driver [test] Fix memory leak in validateTargetProfile 2022-07-16 16:47:50 -07:00
Format [clang-format] Distinguish logical and after bracket from reference 2022-08-13 11:52:23 +08:00
Frontend Fix lack of cc1 flag in llvmcmd sections when assertions are enabled 2022-07-29 18:51:48 -07:00
Index [clang] Visit enum base specifiers in libIndex 2021-10-25 13:16:14 +02:00
Interpreter [clang-repl] Disable building when LLVM_STATIC_LINK_CXX_STDLIB is ON. 2022-07-31 05:42:57 +09:00
Introspection [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
Lex [clang] Use value instead of getValue (NFC) 2022-07-13 23:39:33 -07:00
Rename Bump googletest to 1.10.0 2021-05-14 19:16:31 +02:00
Rewrite
Sema [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
Serialization [Serialization] Add missing includes for CHAR_BIT 2022-05-19 10:04:25 +02:00
StaticAnalyzer [clang] Implement ElaboratedType sugaring for types written bare 2022-07-27 11:10:54 +02:00
Tooling Fixed a number of typos 2022-08-01 13:13:18 -04:00
libclang
CMakeLists.txt [clang-repl] Disable building when LLVM_STATIC_LINK_CXX_STDLIB is ON. 2022-07-31 05:42:57 +09:00