<div dir="ltr"><div>Hi all,</div><div><br></div><div>Thank you for your feedback at the dev meeting.</div><div><br></div><div>We are planning to add --autocomplete flag to llvm-opt, which enables us to make a new command-line autocompletion for opt when -mllvm is provided to Clang command invocation.</div><div><br></div><div>There are command-line option's namespace opt::cl in CommandLine.cpp, which provides useful function for parsing options. However we also have OptTable in OptTable.h and we are confused why they have similar classes for options.</div><div><br></div><div>Our implementation plan is to build a new OptTable for opt options defined in CommandFlags.h with their values and call its method when --autocomplete flag was passed to opt. We believe that this interface will also be useful to future development for opt command-line flags.</div><div><br></div><div>Additionally, these are the type of flags which we already supported:</div><div>* Clang flags</div><div>* Clang flag values</div><div>* CC1 flags when -Xclang or -cc1 is provided to command-line</div><div>* -W<warning> and -Wno<warning></div><div>* -analyzer-checker values</div><div>* -std values</div><div><br></div><div>Any comments or suggestions will be very helpful. We also want to add support for other shells, so any support for this is also very appriciated.</div><div><br></div><div>(If this email doesn't make sense to you, please take a look at <a href="http://blog.llvm.org/2017/09/clang-bash-better-auto-completion-is.html">http://blog.llvm.org/2017/09/clang-bash-better-auto-completion-is.html</a>)</div><div><br></div><div>Thanks,</div><div>Yuka</div></div>