[PATCH] D90194: [Driver] split LangOptions::SSPOff into SSPOFF and SSPUnspecified

Bill Wendling via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 4 17:43:10 PST 2020


void added inline comments.


================
Comment at: clang/include/clang/Basic/LangOptions.h:60
   enum GCMode { NonGC, GCOnly, HybridGC };
-  enum StackProtectorMode { SSPOff, SSPOn, SSPStrong, SSPReq };
+  enum StackProtectorMode { SSPOff, SSPOn, SSPStrong, SSPReq, SSPUnspecified };
 
----------------
I don't know if it's a convention, but an unspecified enum is typically put at the beginning of the enum list.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D90194/new/

https://reviews.llvm.org/D90194



More information about the cfe-commits mailing list