summaryrefslogtreecommitdiffstats
path: root/clang/lib/Basic/IdentifierTable.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-05 21:36:30 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-05 21:36:30 +0000
commit78c7e344859f0ebc213550fdf55838a2bf38aaeb (patch)
tree21b9111ecd2585199b18be61a37536fcdb694467 /clang/lib/Basic/IdentifierTable.cpp
parentd4e20eacf010ab04f6f53dfdee6bf9842edd261e (diff)
downloadbcm5719-llvm-78c7e344859f0ebc213550fdf55838a2bf38aaeb.tar.gz
bcm5719-llvm-78c7e344859f0ebc213550fdf55838a2bf38aaeb.zip
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
Diffstat (limited to 'clang/lib/Basic/IdentifierTable.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud