Add a function object to compare the first or second component of a std::pair.
authorBenjamin Kramer <benny.kra@googlemail.com>
Sat, 24 Aug 2013 12:54:27 +0000 (12:54 +0000)
committerBenjamin Kramer <benny.kra@googlemail.com>
Sat, 24 Aug 2013 12:54:27 +0000 (12:54 +0000)
commit0b6962f4be35aca7054ff68ef9bbbb2e03617d31
treed43f99c539cadf20ceb01150dee830cbfb2b5d64
parent4321d4e4a9b5786e990a9e731165f3ee3df6fa01
Add a function object to compare the first or second component of a std::pair.

Replace instances of this scattered around the code base.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@189169 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/STLExtras.h
lib/CodeGen/AsmPrinter/AsmPrinter.cpp
lib/CodeGen/AsmPrinter/DwarfDebug.cpp
lib/CodeGen/SelectionDAG/ScheduleDAGSDNodes.cpp
lib/Transforms/Utils/PromoteMemoryToRegister.cpp