[llvm-commits] CVS: llvm/lib/Reoptimizer/Mapping/getLLVMinfo.cpp
Chris Lattner
sabre at nondot.org
Wed Sep 11 17:50:01 PDT 2002
> Someone switched from using unsigned int to uint64_t but forgot to include
> Support/DataTypes.h, preventing compilation. (Or just forgot to check it in).
> #include "llvm/Module.h"
> #include "llvm/Function.h"
> #include "llvm/Instruction.h"
> +#include "Support/DataTypes.h"
> #include <iostream>
> #include <vector>
> #include <map>
A comment (and I know that this has nothing to do with YOUR checkin): Most
of these #includes are redundant. You can probably get away with just:
#include "llvm/Module.h"
#include "Support/DataTypes.h"
#include <map>
Because Module includes Function, Function.h includes BasicBlock.h,
BasicBlock.h includes Instruction.h etc.
If you could, please prune these #includes if you get a chance...
-Chris
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/
More information about the llvm-commits
mailing list