gem5/src/dev/alpha
Koan-Sin Tan 7d4f187700 clang: Enable compiling gem5 using clang 2.9 and 3.0
This patch adds the necessary flags to the SConstruct and SConscript
files for compiling using clang 2.9 and later (on Ubuntu et al and OSX
XCode 4.2), and also cleans up a bunch of compiler warnings found by
clang. Most of the warnings are related to hidden virtual functions,
comparisons with unsigneds >= 0, and if-statements with empty
bodies. A number of mismatches between struct and class are also
fixed. clang 2.8 is not working as it has problems with class names
that occur in multiple namespaces (e.g. Statistics in
kernel_stats.hh).

clang has a bug (http://llvm.org/bugs/show_bug.cgi?id=7247) which
causes confusion between the container std::set and the function
Packet::set, and this is currently addressed by not including the
entire namespace std, but rather selecting e.g. "using std::vector" in
the appropriate places.
2012-01-31 12:05:52 -05:00
..
access.h style: Remove non-leading tabs everywhere they shouldn't be. Developers should configure their editors to not insert tabs 2008-09-10 14:26:15 -04:00
AlphaBackdoor.py rename AlphaConsole to AlphaBackdoor 2008-06-17 20:36:39 -07:00
backdoor.cc trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
backdoor.hh includes: sort includes again 2009-05-17 14:34:52 -07:00
SConscript scons: rename TraceFlags to DebugFlags 2011-06-02 17:36:21 -07:00
tsunami.cc includes: sort all includes 2011-04-15 10:44:06 -07:00
tsunami.hh Devices: Add support for legacy fixed IO locations in BARs. 2009-02-01 00:02:21 -08:00
Tsunami.py bus: clean up default responder code. 2010-08-17 05:06:21 -07:00
tsunami_cchip.cc clang: Enable compiling gem5 using clang 2.9 and 3.0 2012-01-31 12:05:52 -05:00
tsunami_cchip.hh Major changes to how SimObjects are created and initialized. Almost all 2007-07-23 21:51:38 -07:00
tsunami_io.cc clang: Enable compiling gem5 using clang 2.9 and 3.0 2012-01-31 12:05:52 -05:00
tsunami_io.hh includes: sort all includes 2011-04-15 10:44:06 -07:00
tsunami_pchip.cc trace: reimplement the DTRACE function so it doesn't use a vector 2011-04-15 10:44:32 -07:00
tsunami_pchip.hh Devices: Add support for legacy fixed IO locations in BARs. 2009-02-01 00:02:21 -08:00
tsunamireg.h Make mulitple consoles work and be distinguishable from each other 2007-02-13 15:58:06 -05:00