tstellar added inline comments.
================ Comment at: clang/tools/clang-shlib/CMakeLists.txt:28 + foreach(lib ${interface}) + string(REGEX MATCH "^clang" is_clang_lib ${lib}) + if (NOT is_clang_lib) ---------------- mgorny wrote: > Any reason not to use `if(${lib} MATCHES ...)`? > > https://cmake.org/cmake/help/v3.0/command/if.html > > Not sure if `${}` is needed, I get always confused by that. Thanks for the tip, I updated the patch to use this. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D68520/new/ https://reviews.llvm.org/D68520 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits