[cfe-commits] r108694 - /cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
Zhongxing Xu
xuzhongxing at gmail.com
Mon Jul 19 06:16:50 PDT 2010
Author: zhongxingxu
Date: Mon Jul 19 08:16:50 2010
New Revision: 108694
URL: http://llvm.org/viewvc/llvm-project?rev=108694&view=rev
Log:
Fix construction of AnalysisContext. Thanks Daniel.
Modified:
cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
Modified: cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp?rev=108694&r1=108693&r2=108694&view=diff
==============================================================================
--- cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp (original)
+++ cfe/trunk/lib/Sema/AnalysisBasedWarnings.cpp Mon Jul 19 08:16:50 2010
@@ -387,7 +387,7 @@
// Don't generate EH edges for CallExprs as we'd like to avoid the n^2
// explosion for destrutors that can result and the compile time hit.
- AnalysisContext AC(D, false);
+ AnalysisContext AC(D, 0, false);
// Warning: check missing 'return'
if (P.enableCheckFallThrough) {
More information about the cfe-commits
mailing list