================
@@ -179,6 +228,8 @@ class LLVM_ABI OptTable {
/// Return the string table used for option names.
const StringTable &getStrTable() const { return *StrTable; }
+ const ArrayRef<SubCommand> getSubCommands() const { return SubCommands; }
----------------
PiJoules wrote:
`ArrayRef` is already immutable so `const` might not be needed here.
https://github.com/llvm/llvm-project/pull/155026
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits