llvm-project/clang/test/Analysis/inlining
Artem Dergachev 0c33406aaa [analyzer] Add "Assuming..." diagnostic pieces for unsupported conditions.
In the analyzer's path-sensitive reports, when a report goes through a branch
and the branch condition cannot be decided to be definitely true or false
(based on the previous execution path), an event piece is added that tells the
user that a new assumption is added upon the symbolic value of the branch
condition. For example, "Assuming 'a' is equal to 3".

The text of the assumption is hand-crafted in various manners depending on
the AST expression. If the AST expression is too complex and the text of
the assumption fails to be constructed, the event piece is omitted.
This causes loss of information and misunderstanding of the report.

Do not omit the event piece even if the expression is too complex;
add a piece with a generic text instead.

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

llvm-svn: 283301
2016-10-05 08:19:49 +00:00
..
DynDispatchBifurcate.m
InlineObjCClassMethod.m
InlineObjCInstanceMethod.h
InlineObjCInstanceMethod.m
ObjCDynTypePopagation.m
ObjCImproperDynamictallyDetectableCast.m
RetainCountExamples.m
analysis-order.c AnalysisConsumer: use canonical decl for both lookup and store of 2016-01-11 09:38:48 +00:00
assume-super-init-does-not-return-nil.m
containers.cpp Do not inline methods of C++ containers (coming from headers). 2014-06-27 01:03:05 +00:00
dyn-dispatch-bifurcate.cpp
eager-reclamation-path-notes.c [analyzer] Bug identification 2015-10-22 11:53:04 +00:00
eager-reclamation-path-notes.cpp [analyzer] Bug identification 2015-10-22 11:53:04 +00:00
false-positive-suppression.c [analyzer] Make suppression of macro defensive checks work with -analyzer-eagerly-assume. 2016-01-30 01:59:33 +00:00
false-positive-suppression.cpp
false-positive-suppression.m [analyzer] Weaken assertion in trackNullOrUndefValue() 2016-08-19 01:05:31 +00:00
inline-defensive-checks.c
inline-defensive-checks.cpp
inline-defensive-checks.m
path-notes.c [analyzer] Bug identification 2015-10-22 11:53:04 +00:00
path-notes.cpp [analyzer] Bug identification 2015-10-22 11:53:04 +00:00
path-notes.m [analyzer] Add "Assuming..." diagnostic pieces for unsupported conditions. 2016-10-05 08:19:49 +00:00
retain-count-self-init.m
stl.cpp [analyzer] Suppress false positives in std::shared_ptr 2016-07-06 21:52:55 +00:00
test-always-inline-size-option.c
test_objc_inlining_option.m