diff options
Diffstat (limited to 'lib/Analysis/CFGStmtMap.cpp')
-rw-r--r-- | lib/Analysis/CFGStmtMap.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Analysis/CFGStmtMap.cpp b/lib/Analysis/CFGStmtMap.cpp index 16df676..87c2f5b 100644 --- a/lib/Analysis/CFGStmtMap.cpp +++ b/lib/Analysis/CFGStmtMap.cpp @@ -50,7 +50,7 @@ static void Accumulate(SMap &SM, CFGBlock *B) { // First walk the block-level expressions. for (CFGBlock::iterator I = B->begin(), E = B->end(); I != E; ++I) { const CFGElement &CE = *I; - const CFGStmt *CS = CE.getAs<CFGStmt>(); + Optional<CFGStmt> CS = CE.getAs<CFGStmt>(); if (!CS) continue; |