summaryrefslogtreecommitdiffstats
path: root/clang/lib/Format/UnwrappedLineParser.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2013-01-07 09:57:00 +0000
committerChandler Carruth <chandlerc@gmail.com>2013-01-07 09:57:00 +0000
commit04ece8623ed5b9031dda1b4e2433f7f074830a19 (patch)
tree89b5685fb131d592129c7a66598ff03fe516fd9b /clang/lib/Format/UnwrappedLineParser.cpp
parentdf9a2bbcb1a812f0977964d56714e444374dcd80 (diff)
downloadbcm5719-llvm-04ece8623ed5b9031dda1b4e2433f7f074830a19.tar.gz
bcm5719-llvm-04ece8623ed5b9031dda1b4e2433f7f074830a19.zip
Fix a slew of indentation and parameter naming style issues. This 80% of
this patch brought to you by the tool clang-format. I wanted to fix up the names of constructor parameters because they followed a bit of an anti-pattern by naming initialisms with CamelCase: 'Tti', 'Se', etc. This appears to have been in an attempt to not overlap with the names of member variables 'TTI', 'SE', etc. However, constructor arguments can very safely alias members, and in fact that's the conventional way to pass in members. I've fixed all of these I saw, along with making some strang abbreviations such as 'Lp' be simpler 'L', or 'Lgl' be the word 'Legal'. However, the code I was touching had indentation and formatting somewhat all over the map. So I ran clang-format and fixed them. I also fixed a few other formatting or doxygen formatting issues such as using ///< on trailing comments so they are associated with the correct entry. There is still a lot of room for improvement of the formating and cleanliness of this code. ;] At least a few parts of the coding standards or common practices in LLVM's code aren't followed, the enum naming rules jumped out at me. I may mix some of these while I'm here, but not all of them. llvm-svn: 171719
Diffstat (limited to 'clang/lib/Format/UnwrappedLineParser.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud