krytarowski added inline comments.

================
Comment at: lib/Driver/ToolChains/CommonArgs.cpp:545
     CmdArgs.push_back("-lpthread");
-    CmdArgs.push_back("-lrt");
+    if (TC.getTriple().getOS() != llvm::Triple::OpenBSD)
+      CmdArgs.push_back("-lrt");
----------------
It's a matter of taste, but I would try to omit nested `if`.


Repository:
  rC Clang

https://reviews.llvm.org/D43818



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

Reply via email to