[all-commits] [llvm/llvm-project] 9190f1: [clangd] Add std::size_t to StdSymbol mapping
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Tue Jan 26 08:53:58 PST 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 9190f17a7cc56b6eb6885fc8d08c8ac81d2c0c98
https://github.com/llvm/llvm-project/commit/9190f17a7cc56b6eb6885fc8d08c8ac81d2c0c98
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2021-01-26 (Tue, 26 Jan 2021)
Changed paths:
M clang-tools-extra/clangd/index/CanonicalIncludes.cpp
Log Message:
-----------
[clangd] Add std::size_t to StdSymbol mapping
This is a common symbol that's missing from our mapping because
cppreference yields multiple headers.
Add it manually by picking cstddef to prevent insertion of some stdlib-internal
headers instead.
Fixes https://github.com/clangd/clangd/issues/666.
Differential Revision: https://reviews.llvm.org/D95423
More information about the All-commits
mailing list