[clang][cli] Create accessors for exception models in LangOptions
authorJan Svoboda <jan_svoboda@apple.com>
Mon, 14 Dec 2020 12:08:48 +0000 (13:08 +0100)
committerJan Svoboda <jan_svoboda@apple.com>
Tue, 15 Dec 2020 09:15:58 +0000 (10:15 +0100)
commitf24e58df7ddf2dc9f13c8f8fc259f0374f04aca3
treee88db4db63775d3b8b6824a7ffde50e2830607e0
parent9c328e7afafd15795fed54e3b0c1c5bd4fa97dfa
[clang][cli] Create accessors for exception models in LangOptions

This abstracts away the members that are being replaced in a follow-up patch.

Depends on D83979.

Reviewed By: dexonsmith

Differential Revision: https://reviews.llvm.org/D93214
clang/include/clang/Basic/LangOptions.h
clang/lib/CodeGen/BackendUtil.cpp
clang/lib/CodeGen/CGException.cpp
clang/lib/Frontend/InitPreprocessor.cpp