[clang] [llvm] [NFC][win] Use an enum for the cfguard module flag (PR #176461)

Aiden Grossman via cfe-commits cfe-commits at lists.llvm.org
Fri Jan 16 11:33:33 PST 2026


================
@@ -1123,10 +1123,14 @@ void CodeGenModule::Release() {
   }
   if (CodeGenOpts.ControlFlowGuard) {
     // Function ID tables and checks for Control Flow Guard (cfguard=2).
----------------
boomanaiden154 wrote:

`cfguard=` here could probably be updated with the name of the enum?

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


More information about the cfe-commits mailing list