aboutsummaryrefslogtreecommitdiff
path: root/llvm/lib/CodeGen/MachineInstr.cpp
diff options
context:
space:
mode:
authorNathan James <n.james93@hotmail.co.uk>2020-11-04 01:36:13 +0000
committerNathan James <n.james93@hotmail.co.uk>2020-11-04 01:36:14 +0000
commitcb9d0e8819ad7ca2f349a57d62ea2af02d631dfa (patch)
tree7009eaaad81573ef249f6a1492c5ea5ae8e607d9 /llvm/lib/CodeGen/MachineInstr.cpp
parent492b1d78d5c555a34e3d21a99081e7dea0b53b55 (diff)
downloadllvm-cb9d0e8819ad7ca2f349a57d62ea2af02d631dfa.zip
llvm-cb9d0e8819ad7ca2f349a57d62ea2af02d631dfa.tar.gz
llvm-cb9d0e8819ad7ca2f349a57d62ea2af02d631dfa.tar.bz2
[clangd][NFC] Make Located::operator->() use pointer sematics
This enables using the arrow operator to access members of the contained item. ```lang=c++ Located<std::string> X; const char* CStr = X->c_str(); ``` This is inline with how classes like `Optional` handle the arrow operator. Reviewed By: kadircet Differential Revision: https://reviews.llvm.org/D90682
Diffstat (limited to 'llvm/lib/CodeGen/MachineInstr.cpp')
0 files changed, 0 insertions, 0 deletions