[all-commits] [llvm/llvm-project] 311006: AST: Avoid using SmallVector::set_size() in Unreso...
Duncan P. N. Exon Smith via All-commits
all-commits at lists.llvm.org
Tue Jan 11 17:48:18 PST 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 3110060bc721a02e69ead4c56e037a03d31bedef
https://github.com/llvm/llvm-project/commit/3110060bc721a02e69ead4c56e037a03d31bedef
Author: Duncan P. N. Exon Smith <dexonsmith at apple.com>
Date: 2022-01-11 (Tue, 11 Jan 2022)
Changed paths:
M clang/include/clang/AST/UnresolvedSet.h
M clang/lib/Sema/SemaLookup.cpp
Log Message:
-----------
AST: Avoid using SmallVector::set_size() in UnresolvedSet
Update UnresolvedSet to use (and expose) `SmallVector::truncate()` instead
of `SmallVector::set_size()`. The latter is going to made private in a
future commit to avoid misuse.
Differential Revision: https://reviews.llvm.org/D115386
More information about the All-commits
mailing list