phosek added inline comments.

================
Comment at: clang/include/clang/Driver/Options.td:2249-2256
+def fexperimental_omit_rtti_component :
+  Flag<["-"], "fexperimental-omit-rtti-component">,
+  Group<f_clang_Group>, Flags<[CC1Option]>,
+  HelpText<"Omit the RTTI component from virtual tables">;
+def fno_experimental_omit_rtti_component :
+  Flag<["-"], "fno-experimental-omit-rtti-component">,
+  Group<f_clang_Group>, Flags<[CC1Option]>,
----------------
Can you use `BoolFOption` to simplify the definition?


================
Comment at: clang/include/clang/Driver/Options.td:2250
+def fexperimental_omit_rtti_component :
+  Flag<["-"], "fexperimental-omit-rtti-component">,
+  Group<f_clang_Group>, Flags<[CC1Option]>,
----------------
I think the name should signal that this is related to vtables (otherwise users 
might be wondering what "component" is this referring to).

We could use `-fexperimental-omit-vtable-rtti-component` but that's quite a 
mouthful, maybe `-fexperimental-omit-vtable-rtti` would suffice?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D152405

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to