diff options
Diffstat (limited to 'lib/StaticAnalyzer/CXXExprEngine.cpp')
-rw-r--r-- | lib/StaticAnalyzer/CXXExprEngine.cpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/lib/StaticAnalyzer/CXXExprEngine.cpp b/lib/StaticAnalyzer/CXXExprEngine.cpp index 47b3a0bd06..149d4bd9ab 100644 --- a/lib/StaticAnalyzer/CXXExprEngine.cpp +++ b/lib/StaticAnalyzer/CXXExprEngine.cpp @@ -50,14 +50,8 @@ void ExprEngine::evalArguments(ConstExprIterator AI, ConstExprIterator AE, // Evaluate the argument. ExplodedNodeSet Tmp; - bool VisitAsLvalue = FstArgAsLValue; if (FstArgAsLValue) { FstArgAsLValue = false; - } else { - const unsigned ParamIdx = Item.I - AI; - VisitAsLvalue = FnType && ParamIdx < FnType->getNumArgs() - ? FnType->getArgType(ParamIdx)->isReferenceType() - : false; } Visit(*Item.I, Item.N, Tmp); |