teemperor added inline comments.

================
Comment at: clang/lib/Driver/Driver.cpp:1160
 
+void Driver::handleAutocompletions(const llvm::opt::Arg *A) const {
+  // Print out all options that start with a given argument. This is used for
----------------
I think a more generic interface would be `void 
Driver::handleAutocompletions(StringRef PassedFlags) const {` as we don't 
really require that the user of this function actually has an `Arg` with a 
value before calling this function.


https://reviews.llvm.org/D37249



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

Reply via email to