Update variadicMatcherDescriptor to assert on reserved capacity and
to call emplace_back() instead of calling set_size() and constructing
the element in-place.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Paths
| Differential D115379
ASTMatchers: Avoid using SmallVector::set_size() ClosedPublic Authored by dexonsmith on Dec 8 2021, 12:39 PM.
Details Summary Update variadicMatcherDescriptor to assert on reserved capacity and
Diff Detail
Event Timelinedexonsmith added a parent revision: D115380: ADT: Make SmallVector::set_size() private.Dec 8 2021, 12:43 PM dexonsmith removed a parent revision: D115380: ADT: Make SmallVector::set_size() private.Dec 8 2021, 12:48 PM This revision is now accepted and ready to land.Dec 9 2021, 12:04 PM This revision was landed with ongoing or failed builds.Jan 11 2022, 5:02 PM Closed by commit rGf0b2a1a629da: ASTMatchers: Avoid using SmallVector::set_size() (authored by dexonsmith). · Explain Why This revision was automatically updated to reflect the committed changes.
Revision Contents
Diff 399131 clang/lib/ASTMatchers/Dynamic/Marshallers.h
|