[cfe-commits] r42110 - /cfe/trunk/Analysis/UninitializedValues.cpp
Ted Kremenek
kremenek at apple.com
Tue Sep 18 14:47:41 PDT 2007
Author: kremenek
Date: Tue Sep 18 16:47:41 2007
New Revision: 42110
URL: http://llvm.org/viewvc/llvm-project?rev=42110&view=rev
Log:
Minor performance fix in transfer function logic. Previously we
called VisitStmt, but VisitChildren is more direct and creates less
boilerplate logic.
Modified:
cfe/trunk/Analysis/UninitializedValues.cpp
Modified: cfe/trunk/Analysis/UninitializedValues.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Analysis/UninitializedValues.cpp?rev=42110&r1=42109&r2=42110&view=diff
==============================================================================
--- cfe/trunk/Analysis/UninitializedValues.cpp (original)
+++ cfe/trunk/Analysis/UninitializedValues.cpp Tue Sep 18 16:47:41 2007
@@ -159,7 +159,7 @@
}
bool TransferFuncs::VisitCallExpr(CallExpr* C) {
- VisitStmt(C);
+ VisitChildren(C);
return Initialized();
}
More information about the cfe-commits
mailing list