Clang-Tidy CodeGenOptions


is there a way to access Compiler Options, that were extracted from the compilation
database for the current file from a clang tidy check?

I've been looking at the API but haven't found a way to get these as String or as CodeGenOptions.
Am I missing something?

Thanks for any help!