[lld] r195107 - Remove extraneous curly braces and blank lines.
Rui Ueyama
ruiu at google.com
Mon Nov 18 22:18:39 PST 2013
Author: ruiu
Date: Tue Nov 19 00:18:39 2013
New Revision: 195107
URL: http://llvm.org/viewvc/llvm-project?rev=195107&view=rev
Log:
Remove extraneous curly braces and blank lines.
Modified:
lld/trunk/lib/Core/File.cpp
lld/trunk/lib/Core/PassManager.cpp
Modified: lld/trunk/lib/Core/File.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/File.cpp?rev=195107&r1=195106&r2=195107&view=diff
==============================================================================
--- lld/trunk/lib/Core/File.cpp (original)
+++ lld/trunk/lib/Core/File.cpp Tue Nov 19 00:18:39 2013
@@ -18,13 +18,9 @@ StringRef File::translationUnitSource()
return StringRef();
}
-
File::atom_collection_empty<DefinedAtom> File::_noDefinedAtoms;
File::atom_collection_empty<UndefinedAtom> File::_noUndefinedAtoms;
File::atom_collection_empty<SharedLibraryAtom> File::_noSharedLibraryAtoms;
File::atom_collection_empty<AbsoluteAtom> File::_noAbsoluteAtoms;
-
-
-
} // namespace lld
Modified: lld/trunk/lib/Core/PassManager.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Core/PassManager.cpp?rev=195107&r1=195106&r2=195107&view=diff
==============================================================================
--- lld/trunk/lib/Core/PassManager.cpp (original)
+++ lld/trunk/lib/Core/PassManager.cpp Tue Nov 19 00:18:39 2013
@@ -16,9 +16,8 @@
namespace lld {
error_code PassManager::runOnFile(std::unique_ptr<MutableFile> &mf) {
- for (auto &pass : _passes) {
+ for (auto &pass : _passes)
pass->perform(mf);
- }
return error_code::success();
}
} // end namespace lld
More information about the llvm-commits
mailing list