[PATCH] D108286: [clang][Driver][Linux] fix regression issue when define LIBCXX_LIBDIR_SUFFIX=64

Fangrui Song via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Aug 25 23:36:12 PDT 2021


MaskRay accepted this revision.
MaskRay added inline comments.


================
Comment at: clang/lib/Driver/ToolChains/Linux.cpp:308
     addPathIfExists(D, D.Dir + "/../lib", Paths);
+    if (OSLibDir != "lib") {
+      addPathIfExists(D, D.Dir + "/../" + OSLibDir, Paths);
----------------
drop redundant braces around one-line simple statement


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D108286



More information about the cfe-commits mailing list