diff options
author | Douglas Katzman <dougk@google.com> | 2015-06-23 20:42:09 +0000 |
---|---|---|
committer | Douglas Katzman <dougk@google.com> | 2015-06-23 20:42:09 +0000 |
commit | 95354292703ebfd92531f2306ea4356d3a517334 (patch) | |
tree | 292771bf97a3aac725a88bc6bd5949176b8de951 /llvm/lib/Transforms/Utils/BasicBlockUtils.cpp | |
parent | 49047039b05c605d5f96a4d7b073f85e75de2f8c (diff) | |
download | llvm-95354292703ebfd92531f2306ea4356d3a517334.zip llvm-95354292703ebfd92531f2306ea4356d3a517334.tar.gz llvm-95354292703ebfd92531f2306ea4356d3a517334.tar.bz2 |
Pedantically rename all Tool subclasses to be nouns, not verbs. NFC
Classes in Tools.h inherit ultimately from Tool, which is a noun,
but subclasses of Tool were named for their operation, such as "Compile",
wherein the constructor call "Compile(args...)" could be misconstrued
as actually causing a compile to happen.
Likewise various other methods were not harmonious with their effect,
in that "BuildLinker()" returned a "new namespace::Link(...)"
instead of a "new namespace::Linker(...)" which it now does.
Exceptions: Clang and ClangAs are un-renamed. Those are their rightful names.
And there is no particulary great way to name the "Lipo-er" and a few others.
Differential Revision: http://reviews.llvm.org/D10595
llvm-svn: 240455
Diffstat (limited to 'llvm/lib/Transforms/Utils/BasicBlockUtils.cpp')
0 files changed, 0 insertions, 0 deletions