[all-commits] [llvm/llvm-project] 15bf2a: [clangd][test] Fix error message in SerializationT...

Tom Praschan via All-commits all-commits at lists.llvm.org
Wed Aug 10 23:50:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 15bf2aa44aa1ffa049782316273f84c2db682e50
      https://github.com/llvm/llvm-project/commit/15bf2aa44aa1ffa049782316273f84c2db682e50
  Author: Tom Praschan <13141438+tom-anders at users.noreply.github.com>
  Date:   2022-08-11 (Thu, 11 Aug 2022)

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

  Log Message:
  -----------
  [clangd][test] Fix error message in SerializationTest.BinaryConversions

I noticed this when adding a new type to the index for
https://github.com/clangd/clangd/issues/529. When the assertion failed,
this actually caused a crash, because llvm::expected would complain that
we did not take the error.




More information about the All-commits mailing list