awarzynski added inline comments.

================
Comment at: clang/lib/Driver/Driver.cpp:294-297
+        // TODO: This currently doesn't work as information about aliases is
+        // lost when generating "unknown" options.
+        if (auto Alias = A->getAlias())
+          ExpectedDistance = 1;
----------------
This is how we could deal with aliased options, but currently `A->getAlias()` 
always returns `nullptr`.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D99353

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

Reply via email to