[all-commits] [llvm/llvm-project] 4c862d: [clangd] Avoid using constructor/destructor of vec...

Sam McCall via All-commits all-commits at lists.llvm.org
Thu Sep 29 00:30:21 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c862da8d43f32bed7ad7e3b700e01d04b3b0f8d
      https://github.com/llvm/llvm-project/commit/4c862da8d43f32bed7ad7e3b700e01d04b3b0f8d
  Author: Sam McCall <sam.mccall at gmail.com>
  Date:   2022-09-29 (Thu, 29 Sep 2022)

  Changed paths:
    M clang-tools-extra/clangd/support/Markup.cpp
    M clang-tools-extra/clangd/support/Markup.h

  Log Message:
  -----------
  [clangd] Avoid using constructor/destructor of vector<incomplete type>

This is formally invalid, and causes build errors when building with
clang in -std=c++20.

http://eel.is/c%2B%2Bdraft/vector.overview#4




More information about the All-commits mailing list