Skip to content
Commit b5e3a578 authored by Craig Topper's avatar Craig Topper
Browse files

[TableGen] Use emplace_back to add to PatternsToMatch in GenerateVariants. Use...

[TableGen] Use emplace_back to add to PatternsToMatch in GenerateVariants. Use std::move when adding to PatternsToMatch in AddPatternToMatch.

We already used emplace_back in at least one other place so be
consistent.

AddPatternToMatch already took PTM as an rvalue reference, but
we need to use std::move again to move it into the PatternToMatch
vector.
parent 4e04a535
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment