diff options
author | Sam Clegg <sbc@chromium.org> | 2017-06-29 19:35:17 +0000 |
---|---|---|
committer | Sam Clegg <sbc@chromium.org> | 2017-06-29 19:35:17 +0000 |
commit | 3d65030c45971bf041b7cdeb4b3b1378cadc4abe (patch) | |
tree | d0866db2b7b0cf4a19d5639b428cbe9cb8c9eadb /llvm/lib/CodeGen/MachineScheduler.cpp | |
parent | 600a6133ad65fa5f0ef9d5aad4b353e2bc32cedc (diff) | |
download | bcm5719-llvm-3d65030c45971bf041b7cdeb4b3b1378cadc4abe.tar.gz bcm5719-llvm-3d65030c45971bf041b7cdeb4b3b1378cadc4abe.zip |
Remove `inline` keyword from inline `classof` methods
The style guide states that the explicit `inline`
should not be used with inline methods. classof is
very common inline method with a fair amount on
inconsistency:
$ git grep classof ./include | grep inline | wc -l
230
$ git grep classof ./include | grep -v inline | wc -l
257
I chose to target this method rather the larger change
since this method is easily cargo-culted (I did it at
least once). I considered doing the larger change and
removing all occurrences but that would be a much larger
change.
Differential Revision: https://reviews.llvm.org/D33906
llvm-svn: 306731
Diffstat (limited to 'llvm/lib/CodeGen/MachineScheduler.cpp')
0 files changed, 0 insertions, 0 deletions