kadircet added inline comments.

================
Comment at: clang-tools-extra/clangd/GlobalCompilationDatabase.cpp:135
+    // On other platforms, just look for compilers on the PATH.
+    for (const char* Name : {"clang", "gcc", "ccc"})
+      if (auto PathCC = llvm::sys::findProgramByName(Name))
----------------
ilya-biryukov wrote:
> NIT: maybe add braces to the for statement?
did you mean "cc" instead of "ccc"? or is that really a think ?


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D70863



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

Reply via email to