[llvm] [clang] [lldb] [flang] [clang] Split out DebugOptions.def into its own top-level options group. (PR #75530)

Juergen Ributzka via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 5 08:45:28 PST 2024


================
@@ -11,46 +11,13 @@
 
 namespace clang {
 
-CodeGenOptions::CodeGenOptions() {
-#define CODEGENOPT(Name, Bits, Default) Name = Default;
-#define ENUM_CODEGENOPT(Name, Type, Bits, Default) set##Name(Default);
-#include "clang/Basic/CodeGenOptions.def"
+CodeGenOptions::CodeGenOptions() { resetNonModularOptions(); }
----------------
ributzka wrote:

Right now the code is the same. I modified it and added a new method to reset all options with a fixme to actually reset all options. I prefer to do that in a separate commit, because fixing that is a different change from what I am trying to accomplish in this PR.

https://github.com/llvm/llvm-project/pull/75530


More information about the cfe-commits mailing list