astyle: Update to astyle 1.24

This commit is contained in:
Daniel Marjamäki 2010-04-15 20:08:51 +02:00
parent 3fa2137ee3
commit c718a7c595
39 changed files with 248 additions and 246 deletions

View File

@ -72,7 +72,8 @@ void ResultsView::Progress(int value, int max)
mUI.mProgress->setVisible(false); mUI.mProgress->setVisible(false);
//Should we inform user of non visible/not found errors? //Should we inform user of non visible/not found errors?
if (mShowNoErrorsMessage) if (mShowNoErrorsMessage)
{ //Tell user that we found no errors {
//Tell user that we found no errors
if (!mErrorsFound) if (!mErrorsFound)
{ {
QMessageBox msg(QMessageBox::Information, QMessageBox msg(QMessageBox::Information,

View File

@ -1,13 +1,13 @@
#!/bin/bash #!/bin/bash
astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren cli/*.cpp astyle --style=ansi --min-conditional-indent=0 cli/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren cli/*.h astyle --style=ansi --min-conditional-indent=0 cli/*.h
astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren gui/*.cpp astyle --style=ansi --min-conditional-indent=0 gui/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren gui/*.h astyle --style=ansi --min-conditional-indent=0 gui/*.h
astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren lib/*.cpp astyle --style=ansi --min-conditional-indent=0 lib/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren lib/*.h astyle --style=ansi --min-conditional-indent=0 lib/*.h
astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren test/*.cpp astyle --style=ansi --min-conditional-indent=0 test/*.cpp
astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren test/*.h astyle --style=ansi --min-conditional-indent=0 test/*.h
astyle --style=ansi --min-conditional-indent=0 --pad=oper --unpad=paren tools/*.cpp astyle --style=ansi --min-conditional-indent=0 tools/*.cpp

View File

@ -607,7 +607,8 @@ private:
{ {
const int STL_CONTAINER_LIST = 9; const int STL_CONTAINER_LIST = 9;
const std::string stlCont[STL_CONTAINER_LIST] = const std::string stlCont[STL_CONTAINER_LIST] =
{"deque", "list", "set", "multiset", "map", {
"deque", "list", "set", "multiset", "map",
"multimap", "hash_map", "hash_multimap", "hash_set" "multimap", "hash_map", "hash_multimap", "hash_set"
}; };