diff --git a/clang-tools-extra/clangd/CodeComplete.h b/clang-tools-extra/clangd/CodeComplete.h --- a/clang-tools-extra/clangd/CodeComplete.h +++ b/clang-tools-extra/clangd/CodeComplete.h @@ -86,7 +86,7 @@ /// A visual indicator to prepend to the completion label to indicate whether /// completion result would trigger an #include insertion or not. struct IncludeInsertionIndicator { - std::string Insert = "•"; + std::string Insert = u8"\u2022"; // Unicode Bullet. std::string NoInsert = " "; } IncludeIndicator; diff --git a/clang-tools-extra/clangd/Diagnostics.cpp b/clang-tools-extra/clangd/Diagnostics.cpp --- a/clang-tools-extra/clangd/Diagnostics.cpp +++ b/clang-tools-extra/clangd/Diagnostics.cpp @@ -545,7 +545,7 @@ OS << R; if (R.size() != Code.size()) - OS << "…"; + OS << u8"\u2026"; // Unicode Horizontal Ellipsis. } /// Fills \p D with all information, except the location-related bits.