[llvm-commits] CVS: llvm/lib/Transforms/IPO/MutateStructTypes.cpp

Michael Brukman brukman at cs.uiuc.edu
Fri Sep 13 21:07:00 PDT 2002

Changes in directory llvm/lib/Transforms/IPO:

MutateStructTypes.cpp updated: 1.29 -> 1.30

Log message:

Following Chris's advice, I'm pruning some unnecessary .h includes that I'm
noticing. Since Module includes Function, and eventually, BasicBlock and
GlobalVariable, the last three are unnecessary to be included directly.

Diffs of the changes:

Index: llvm/lib/Transforms/IPO/MutateStructTypes.cpp
diff -u llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.29 llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.30
--- llvm/lib/Transforms/IPO/MutateStructTypes.cpp:1.29	Fri Sep 13 17:28:36 2002
+++ llvm/lib/Transforms/IPO/MutateStructTypes.cpp	Fri Sep 13 21:06:53 2002
@@ -14,9 +14,6 @@
 #include "llvm/Transforms/IPO/MutateStructTypes.h"
 #include "llvm/DerivedTypes.h"
 #include "llvm/Module.h"
-#include "llvm/Function.h"
-#include "llvm/BasicBlock.h"
-#include "llvm/GlobalVariable.h"
 #include "llvm/SymbolTable.h"
 #include "llvm/iPHINode.h"
 #include "llvm/iMemory.h"

More information about the llvm-commits mailing list