summaryrefslogtreecommitdiffstats
path: root/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
diff options
context:
space:
mode:
authorRichard Smith <richard-llvm@metafoo.co.uk>2012-09-12 00:56:43 +0000
committerRichard Smith <richard-llvm@metafoo.co.uk>2012-09-12 00:56:43 +0000
commitb15fe3a5e4be26e25abf375b2b341f1e3f7b53cd (patch)
tree959bc5b06c67c3474d06cbdaf96a7496c12dce90 /clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
parentb28179bb80a93d5276e6d270d0d74c3f2d0e2b20 (diff)
downloadbcm5719-llvm-b15fe3a5e4be26e25abf375b2b341f1e3f7b53cd.tar.gz
bcm5719-llvm-b15fe3a5e4be26e25abf375b2b341f1e3f7b53cd.zip
PR13811: Add a FunctionParmPackExpr node to handle references to function
parameter packs where the reference is not being expanded but the pack has been. Previously, Clang would segfault in such cases. llvm-svn: 163672
Diffstat (limited to 'clang/lib/StaticAnalyzer/Core/ExprEngine.cpp')
-rw-r--r--clang/lib/StaticAnalyzer/Core/ExprEngine.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
index d177b60a502..4d4faf6d0b8 100644
--- a/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
+++ b/clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
@@ -526,6 +526,7 @@ void ExprEngine::Visit(const Stmt *S, ExplodedNode *Pred,
case Stmt::CXXNoexceptExprClass:
case Stmt::PackExpansionExprClass:
case Stmt::SubstNonTypeTemplateParmPackExprClass:
+ case Stmt::FunctionParmPackExprClass:
case Stmt::SEHTryStmtClass:
case Stmt::SEHExceptStmtClass:
case Stmt::LambdaExprClass:
OpenPOWER on IntegriCloud