[PATCH] D49736: [Basic] Emit warning flag suggestion only in case there's existing flag *similar* to the unknown one

Alex Lorenz via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Jul 24 16:51:36 PDT 2018


arphaman added a comment.

Thanks for working on this!
It looks like we only have one client of `getNearestOption`. Wouldn't it make sense to fold the check into the function itself?


Repository:
  rC Clang

https://reviews.llvm.org/D49736





More information about the cfe-commits mailing list