clang-1/lib/Analysis
David Blaikie b07805485c Remove the CFGElement "Invalid" state.
Use Optional<CFG*> where invalid states were needed previously. In the one case
where that's not possible (beginAutomaticObjDtorsInsert) just use a dummy
CFGAutomaticObjDtor.

Thanks for the help from Jordan Rose & discussion/feedback from Ted Kremenek
and Doug Gregor.

Post commit code review feedback on r175796 by Ted Kremenek.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@175938 91177308-0d34-0410-b5e6-96231b3b80d8
2013-02-23 00:29:34 +00:00
..
AnalysisDeclContext.cpp
BodyFarm.cpp
BodyFarm.h
CFG.cpp
CFGReachabilityAnalysis.cpp
CFGStmtMap.cpp
CMakeLists.txt
CallGraph.cpp
CocoaConventions.cpp
Dominators.cpp
FormatString.cpp
FormatStringParsing.h
LiveVariables.cpp
Makefile
ObjCNoReturn.cpp
PostOrderCFGView.cpp
PrintfFormatString.cpp
ProgramPoint.cpp
PseudoConstantAnalysis.cpp
ReachableCode.cpp
ScanfFormatString.cpp
ThreadSafety.cpp
UninitializedValues.cpp