[llvm-commits] CVS: llvm/tools/opt/AnalysisWrappers.cpp
Reid Spencer
reid at x10sys.com
Tue Jan 30 12:10:00 PST 2007
Changes in directory llvm/tools/opt:
AnalysisWrappers.cpp updated: 1.20 -> 1.21
---
Log message:
For PR1136: http://llvm.org/PR1136 : Rename GlobalVariable::isExternal as isDeclaration to avoid
confusion with external linkage types.
---
Diffs of the changes: (+1 -1)
AnalysisWrappers.cpp | 2 +-
1 files changed, 1 insertion(+), 1 deletion(-)
Index: llvm/tools/opt/AnalysisWrappers.cpp
diff -u llvm/tools/opt/AnalysisWrappers.cpp:1.20 llvm/tools/opt/AnalysisWrappers.cpp:1.21
--- llvm/tools/opt/AnalysisWrappers.cpp:1.20 Tue Dec 5 13:43:42 2006
+++ llvm/tools/opt/AnalysisWrappers.cpp Tue Jan 30 14:08:39 2007
@@ -32,7 +32,7 @@
struct ExternalFunctionsPassedConstants : public ModulePass {
virtual bool runOnModule(Module &M) {
for (Module::iterator I = M.begin(), E = M.end(); I != E; ++I)
- if (I->isExternal()) {
+ if (I->isDeclaration()) {
bool PrintedFn = false;
for (Value::use_iterator UI = I->use_begin(), E = I->use_end();
UI != E; ++UI)
More information about the llvm-commits
mailing list