diff options
author | Nirav Dave <niravd@google.com> | 2016-10-07 19:11:33 +0000 |
---|---|---|
committer | Nirav Dave <niravd@google.com> | 2016-10-07 19:11:33 +0000 |
commit | 2620d22b2bbc158981f37213b9a1d7fd4495a135 (patch) | |
tree | d70018d6485deff6b3b0348ca3824d28b182c8f2 /clang/lib/StaticAnalyzer/Core/CoreEngine.cpp | |
parent | 9694825d3281e3a7e0e1c0f5774d708f83783af7 (diff) | |
download | bcm5719-llvm-2620d22b2bbc158981f37213b9a1d7fd4495a135.tar.gz bcm5719-llvm-2620d22b2bbc158981f37213b9a1d7fd4495a135.zip |
Silence Warning. NFC.
llvm-svn: 283583
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/CoreEngine.cpp')
-rw-r--r-- | clang/lib/StaticAnalyzer/Core/CoreEngine.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp b/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp index ea809b7067f..4e2866c56f0 100644 --- a/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp +++ b/clang/lib/StaticAnalyzer/Core/CoreEngine.cpp @@ -313,7 +313,7 @@ void CoreEngine::HandleBlockEdge(const BlockEdge &L, ExplodedNode *Pred) { const ReturnStmt *RS = nullptr; if (!L.getSrc()->empty()) { if (Optional<CFGStmt> LastStmt = L.getSrc()->back().getAs<CFGStmt>()) { - if (RS = dyn_cast<ReturnStmt>(LastStmt->getStmt())) { + if ((RS = dyn_cast<ReturnStmt>(LastStmt->getStmt()))) { if (!RS->getRetValue()) RS = nullptr; } |