avadhpatel / marss

PTLsim and QEMU based Computer Architecture Research Simulator
http://www.marss86.org
129 stars 63 forks source link

Automate the intentions of this branch. #45

Closed tj90241 closed 9 years ago

tj90241 commented 9 years ago

find ptlsim/ -name '.cpp' -o -name '.h' \ -execdir /opt/uncrustify/bin/uncrustify \ --no-backup -c ~/projects/marss/uncrustify.cfg -i {} \;

tj90241 commented 9 years ago

I didn't test this at all.

tj90241 commented 9 years ago

Some files weren't fixed because of the usage of unlikely/likely. Seems like the parser gets tripped up when it sees:

if unlikely(...) {

It wants to see: if (unlikely(...)) {

So some of the files still look really inconsistent.

fitzfitsahero commented 9 years ago

Can't automagically merge. This will take some time to vet out all the changes to make sure nothing is broken. But this does need to happen, so it will.