dankm marked 3 inline comments as done. dankm added inline comments.
================ Comment at: lib/Driver/ToolChains/Clang.cpp:612 + if (Map.find('=') == StringRef::npos) + D.Diag(diag::err_drv_invalid_argument_to_fdebug_prefix_map) << Map; + else ---------------- Lekensteyn wrote: > joerg wrote: > > I'd prefer the bailout style here, i.e. `if (...) { D.diag(...); continue }` > Wouldn't using `if (...) { D.diag(...); continue; }` also skip the > `A->claim()` call? Presumably that could result in spurious errors as well > about unused arguments? It would, and did. I had @joerg's suggestion in an earlier patch on this review. Repository: rC Clang CHANGES SINCE LAST ACTION https://reviews.llvm.org/D49466/new/ https://reviews.llvm.org/D49466 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits