llvm-project/clang/lib
Henry Wong 073d5f023c [analyzer] Fix the crash in IteratorChecker.cpp when 'SymbolConjured' has a null Stmt.
When the loop has a null terminator statement and sets 'widen-loops=true', 'invalidateRegions' will constructs the 'SymbolConjured' with null 'Stmt'. And this will lead to a crash in 'IteratorChecker.cpp'. This patch use 'dyn_cast_or_null<>' instead of 'dyn_cast<>' in IteratorChecker.cpp.

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

llvm-svn: 327962
2018-03-20 09:27:02 +00:00
..
ARCMigrate Added LLVM_FALLTHROUGH to address warning: this statement may fall through. NFC. 2017-06-03 06:23:19 +00:00
AST [ObjC] Allow declaring __weak pointer fields in C structs in ARC. 2018-03-19 17:38:40 +00:00
ASTMatchers PR36581: Support data recursion over Stmts in AST matchers. 2018-03-02 21:55:03 +00:00
Analysis [Analysis] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-16 21:22:42 +00:00
Basic [ARM] Pass half or i16 types for NEON intrinsics 2018-03-19 13:22:49 +00:00
CodeGen [CodeGen] Ignore OpaqueValueExprs that are unique references to their 2018-03-20 01:47:58 +00:00
CrossTU [CrossTU] Fix handling of Cross Translation Unit directory path 2017-10-27 12:53:37 +00:00
Driver [OpenMP] Add flag for linking runtime bitcode library 2018-03-13 23:19:52 +00:00
Edit [NFC] Extract method to SourceManager for traversing the macro "stack" 2018-02-09 23:30:07 +00:00
Format [clang-format] Remove empty lines before }[;] // comment 2018-03-19 15:33:40 +00:00
Frontend Adding nocf_check attribute for cf-protection fine tuning 2018-03-17 13:31:35 +00:00
FrontendTool Make a build bot happy. 2018-02-10 14:26:53 +00:00
Headers [DOXYGEN] Fix doxygen and content issues in mmintrin.h 2018-03-09 00:38:51 +00:00
Index [Index] fix USR generation for namespace{extern{X}} 2018-02-02 14:13:37 +00:00
Lex [ObjC] Allow declaring __strong pointer fields in structs in Objective-C 2018-02-28 07:15:55 +00:00
Parse [ms] Parse #pragma optimize and ignore it behind its own flag 2018-03-20 08:53:11 +00:00
Rewrite [analyzer] Show full analyzer invocation for reproducibility in HTML reports 2018-01-23 19:28:52 +00:00
Sema Properly construct `inline` members without initializers 2018-03-20 03:27:44 +00:00
Serialization [CodeGen] Ignore OpaqueValueExprs that are unique references to their 2018-03-20 01:47:58 +00:00
StaticAnalyzer [analyzer] Fix the crash in IteratorChecker.cpp when 'SymbolConjured' has a null Stmt. 2018-03-20 09:27:02 +00:00
Tooling [Tooling] Fix some Clang-tidy modernize and Include What You Use warnings; other minor fixes (NFC). 2018-03-14 21:05:51 +00:00
CMakeLists.txt Add Cross Translation Unit support library 2017-09-22 11:11:01 +00:00