-
Notifications
You must be signed in to change notification settings - Fork 15.2k
Closed
Labels
Description
| Bugzilla Link | 403 |
| Resolution | FIXED |
| Resolved on | Mar 06, 2010 14:06 |
| Version | 1.0 |
| OS | All |
| Reporter | LLVM Bugzilla Contributor |
Extended Description
The placement of methods into .cpp files in lib/VMCore is somewhat awkward. Of
particular note:
- GlobalVariable::* is at the end of Function.cpp
- GlobalValue::* is at the end of Constant.cpp
- the various i*.cpp files should just be put in Instructions.cpp
- Correspondingly, the include/llvm/i*.h files should go in Instructions.h
There's probably several other cleanups but two things need to be balanced here:
- The need to put significant amounts of code in .cpp files so that we aren't
spending our compile time processing header files - The need to put member functions in .cpp files that make sense, are easy to
find and are intuitive.