[all-commits] [llvm/llvm-project] c490f8: [clangd][StdSymbolMap] Prefer std::remove from alg...
kadir çetinkaya via All-commits
all-commits at lists.llvm.org
Wed Jan 12 06:26:20 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: c490f8feb71e837dd7011e7a7d8a7928507c9c76
https://github.com/llvm/llvm-project/commit/c490f8feb71e837dd7011e7a7d8a7928507c9c76
Author: Kadir Cetinkaya <kadircet at google.com>
Date: 2022-01-12 (Wed, 12 Jan 2022)
Changed paths:
M clang-tools-extra/clangd/StdSymbolMap.inc
M clang-tools-extra/clangd/include-mapping/cppreference_parser.py
Log Message:
-----------
[clangd][StdSymbolMap] Prefer std::remove from algorithm
std::remove from algorithm is a lot more common than the overload from
the cstdio (which deletes files). This patch introduces a set of symbols
for which we should prefer the overloaded versions.
Differential Revision: https://reviews.llvm.org/D114724
More information about the All-commits
mailing list