diff options
author | Nathan James <n.james93@hotmail.co.uk> | 2020-08-01 01:45:33 +0100 |
---|---|---|
committer | Nathan James <n.james93@hotmail.co.uk> | 2020-08-01 01:45:34 +0100 |
commit | 1fd2049e38daf0992f63883d68609b85dfb9cb26 (patch) | |
tree | f1cc2b0d0583949efce8fc3149fa9134b30fc17e /llvm/lib/CodeGen/MachineVerifier.cpp | |
parent | 01bfe2e494027e473ba920ef324b1929af16936e (diff) | |
download | llvm-1fd2049e38daf0992f63883d68609b85dfb9cb26.zip llvm-1fd2049e38daf0992f63883d68609b85dfb9cb26.tar.gz llvm-1fd2049e38daf0992f63883d68609b85dfb9cb26.tar.bz2 |
[clang-tidy][NFC] Added convienence methods for getting optional options
These methods abstract away Error handling when trying to read options that can't be parsed by logging the error automatically and returning None.
Reviewed By: gribozavr2
Differential Revision: https://reviews.llvm.org/D84812
Diffstat (limited to 'llvm/lib/CodeGen/MachineVerifier.cpp')
0 files changed, 0 insertions, 0 deletions