aboutsummaryrefslogtreecommitdiff
path: root/Analysis/LiveVariables.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Analysis/LiveVariables.cpp')
-rw-r--r--Analysis/LiveVariables.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Analysis/LiveVariables.cpp b/Analysis/LiveVariables.cpp
index eba1a77941..a9322f2d90 100644
--- a/Analysis/LiveVariables.cpp
+++ b/Analysis/LiveVariables.cpp
@@ -93,6 +93,7 @@ void TransferFuncs::VisitUnaryOperator(UnaryOperator* U) {
Stmt *S = U->getSubExpr();
switch (U->getOpcode()) {
+ case UnaryOperator::SizeOf: return;
case UnaryOperator::PostInc:
case UnaryOperator::PostDec:
case UnaryOperator::PreInc: