HomePhabricator

[clang-tidy][NFC] Added convienence methods for getting optional options

Authored by njames93 on Fri, Jul 31, 5:45 PM.

Description

[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