]> granicus.if.org Git - clang/commit
Begin refactoring the uninitialized warning code that I uglied up. This
authorChandler Carruth <chandlerc@gmail.com>
Tue, 5 Apr 2011 18:18:05 +0000 (18:18 +0000)
committerChandler Carruth <chandlerc@gmail.com>
Tue, 5 Apr 2011 18:18:05 +0000 (18:18 +0000)
commit4c4983bbd2904670a25c840b07600f14efbafd7f
tree6969ba4b20c5faba132cb2800455a6e4f779274e
parent4c8acc9b0158081635e1dabd49304377ae67ca98
Begin refactoring the uninitialized warning code that I uglied up. This
extracts a function to handle the emission of the diagnostic separately
from the walking over the set of uninitialized uses.

Also updates the naming used within this extracted function to be a bit
more consistent with the rest of Clang's naming patterns.

The next step will be breaking this apart so that we can go through
different functions rather than tracking so many boolean variables.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@128898 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Sema/AnalysisBasedWarnings.cpp