[all-commits] [llvm/llvm-project] 240525: Emit `BeginSourceFile` failure with `elog`. (#104845)

Michael Park via All-commits all-commits at lists.llvm.org
Mon Aug 19 15:07:11 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 24052538a0bb0144e6997e6b61687e3b8716b6ac
      https://github.com/llvm/llvm-project/commit/24052538a0bb0144e6997e6b61687e3b8716b6ac
  Author: Michael Park <mcypark at gmail.com>
  Date:   2024-08-19 (Mon, 19 Aug 2024)

  Changed paths:
    M clang-tools-extra/clangd/ParsedAST.cpp

  Log Message:
  -----------
  Emit `BeginSourceFile` failure with `elog`. (#104845)

There are 3 ways in which `ParseAST::build` can fail and return
`std::nullopt`. 2 of the ways we emit the error message using `elog`,
but for the 3rd way, `log` is used. We should emit all 3 of these
reasons with `elog`.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list