aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
diff options
context:
space:
mode:
authorDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-07-12 01:55:32 +0000
committerDuncan P. N. Exon Smith <dexonsmith@apple.com>2016-07-12 01:55:32 +0000
commit98226e3d93f6cfbfc93b02ef79a988fcbe20ae38 (patch)
tree25aabac7d80623761ec657cdd8c37f28ed7f01d5 /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp
parentfdd30c620da25a98c7cae6e413577ac7534fa9e0 (diff)
downloadllvm-98226e3d93f6cfbfc93b02ef79a988fcbe20ae38.zip
llvm-98226e3d93f6cfbfc93b02ef79a988fcbe20ae38.tar.gz
llvm-98226e3d93f6cfbfc93b02ef79a988fcbe20ae38.tar.bz2
Hexagon: Avoid implicit iterator conversions, NFC
Avoid implicit iterator conversions from MachineInstrBundleIterator to MachineInstr* in the Hexagon backend, mostly by preferring MachineInstr& over MachineInstr* and switching to range-based for loops. There's a long tail of API cleanup here, but I'm planning to leave the rest to the Hexagon maintainers. HexagonInstrInfo defines many of its own predicates, and most of them still take MachineInstr*. Some of those actually check for nullptr, so I didn't feel comfortable changing them to MachineInstr& en masse. llvm-svn: 275142
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions