llvm-project/clang/lib/Analysis
Chandler Carruth 78c7e34485 Commit a bit of a hack to fully handle the situation where variables are
marked explicitly as uninitialized through direct self initialization:

  int x = x;

With r128894 we prevented warnings about this code, and this patch
teaches the analysis engine to continue analyzing subsequent uses of
'x'. This should wrap up PR9624.

There is still an open question of whether we should suppress the
maybe-uninitialized warnings resulting from variables initialized in
this fashion. The definitely-uninitialized uses should always be warned.

llvm-svn: 128932
2011-04-05 21:36:30 +00:00
..
AnalysisContext.cpp Rename class 'CFGReachabilityAnalysis' to 'CFGReverseBlockReachabilityAnalysis'. 2011-03-19 01:00:33 +00:00
CFG.cpp Fix PR 9626 (duplicated self-init warnings under -Wuninitialized) with numerous CFG and UninitializedValues analysis changes: 2011-04-04 23:29:12 +00:00
CFGReachabilityAnalysis.cpp Rename class 'CFGReachabilityAnalysis' to 'CFGReverseBlockReachabilityAnalysis'. 2011-03-19 01:00:33 +00:00
CFGStmtMap.cpp In preparation for fixing PR 6884, rework CFGElement to have getAs<> return pointers instead of fresh CFGElements. 2011-03-01 03:15:10 +00:00
CMakeLists.txt Rename UninitializedValuesV2 to UninitializedValues. 2011-03-15 03:17:07 +00:00
CocoaConventions.cpp Move some of the logic about classifying Objective-C methods into 2011-03-02 01:50:55 +00:00
FormatString.cpp Don't warn when matching %p to nullptr. 2010-11-06 14:58:53 +00:00
FormatStringParsing.h Fix namespace polution. 2010-07-26 21:25:24 +00:00
LiveVariables.cpp Don't report dead stores on unreachable code paths. Fixes <rdar://problem/8405222>. 2011-02-11 23:24:26 +00:00
Makefile BUILD_ARCHIVE is the default for libraries, no need to set it. 2010-07-18 00:14:47 +00:00
PrintfFormatString.cpp Fix whitespace. 2011-01-27 07:10:08 +00:00
PseudoConstantAnalysis.cpp Give some convenient idiomatic accessors to Stmt::child_range and 2011-02-13 04:07:26 +00:00
ReachableCode.cpp Make -Wheader-hygiene not complain about USING_NAMESPACE_THROUGH_MACRO in a non-header file. 2011-04-02 19:45:15 +00:00
ScanfFormatString.cpp Revert r109428 "Hoist argument type checking into CheckFormatHandler. This is prep for scanf format" 2010-07-27 04:46:02 +00:00
UninitializedValues.cpp Commit a bit of a hack to fully handle the situation where variables are 2011-04-05 21:36:30 +00:00