[llvm] r219356 - Reformat some stuff I missed in recent previous commits
David Blaikie
dblaikie at gmail.com
Wed Oct 8 16:09:42 PDT 2014
Author: dblaikie
Date: Wed Oct 8 18:09:42 2014
New Revision: 219356
URL: http://llvm.org/viewvc/llvm-project?rev=219356&view=rev
Log:
Reformat some stuff I missed in recent previous commits
Modified:
llvm/trunk/include/llvm/ADT/iterator_range.h
llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
Modified: llvm/trunk/include/llvm/ADT/iterator_range.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/ADT/iterator_range.h?rev=219356&r1=219355&r2=219356&view=diff
==============================================================================
--- llvm/trunk/include/llvm/ADT/iterator_range.h (original)
+++ llvm/trunk/include/llvm/ADT/iterator_range.h Wed Oct 8 18:09:42 2014
@@ -49,7 +49,7 @@ template <class T> iterator_range<T> mak
return iterator_range<T>(std::move(x), std::move(y));
}
-template<typename T> iterator_range<T> make_range(std::pair<T, T> p) {
+template <typename T> iterator_range<T> make_range(std::pair<T, T> p) {
return iterator_range<T>(std::move(p.first), std::move(p.second));
}
}
Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h?rev=219356&r1=219355&r2=219356&view=diff
==============================================================================
--- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h (original)
+++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.h Wed Oct 8 18:09:42 2014
@@ -660,10 +660,12 @@ public:
const MCSymbol *getFunctionBeginSym() const { return FunctionBeginSym; }
const MCSymbol *getFunctionEndSym() const { return FunctionEndSym; }
- iterator_range<ImportedEntityMap::const_iterator> findImportedEntitiesForScope(const MDNode *Scope) const {
+ iterator_range<ImportedEntityMap::const_iterator>
+ findImportedEntitiesForScope(const MDNode *Scope) const {
return make_range(std::equal_range(
ScopesWithImportedEntities.begin(), ScopesWithImportedEntities.end(),
- std::pair<const MDNode *, const MDNode *>(Scope, nullptr), less_first()));
+ std::pair<const MDNode *, const MDNode *>(Scope, nullptr),
+ less_first()));
}
/// \brief A helper function to check whether the DIE for a given Scope is
More information about the llvm-commits
mailing list