We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent dcad46f commit 25a2948Copy full SHA for 25a2948
clang/lib/Parse/ParseHLSLRootSignature.cpp
@@ -254,7 +254,7 @@ std::optional<DescriptorTable> RootSignatureParser::parseDescriptorTable() {
254
auto Clause = parseDescriptorTableClause();
255
if (!Clause.has_value())
256
return std::nullopt;
257
- Elements.push_back(RootSignatureElement(ElementLoc, *Clause));
+ Elements.emplace_back(RootSignatureElement(ElementLoc, *Clause));
258
Table.NumClauses++;
259
} else if (tryConsumeExpectedToken(TokenKind::kw_visibility)) {
260
// visibility = SHADER_VISIBILITY
0 commit comments