[cfe-commits] r122818 - /cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngine.cpp

Douglas Gregor dgregor at apple.com
Tue Jan 4 10:46:34 PST 2011


Author: dgregor
Date: Tue Jan  4 12:46:34 2011
New Revision: 122818

URL: http://llvm.org/viewvc/llvm-project?rev=122818&view=rev
Log:
There is nothing interesting to analyze with a sizeof...(pack) expression

Modified:
    cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngine.cpp

Modified: cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngine.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngine.cpp?rev=122818&r1=122817&r2=122818&view=diff
==============================================================================
--- cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngine.cpp (original)
+++ cfe/trunk/lib/StaticAnalyzer/Checkers/ExprEngine.cpp Tue Jan  4 12:46:34 2011
@@ -835,6 +835,7 @@
     case Stmt::CharacterLiteralClass:
     case Stmt::CXXBoolLiteralExprClass:
     case Stmt::FloatingLiteralClass:
+    case Stmt::SizeOfPackExprClass:
       Dst.Add(Pred); // No-op. Simply propagate the current state unchanged.
       break;
 





More information about the cfe-commits mailing list