Skip to content

Commit

Permalink
Fix pair construction with an implicit constructor inside.
Browse files Browse the repository at this point in the history
  • Loading branch information
tpopp committed Jan 18, 2022
1 parent c6fb636 commit 262cc74
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion clang/lib/StaticAnalyzer/Checkers/GenericTaintChecker.cpp
Expand Up @@ -469,7 +469,7 @@ void GenericTaintRuleParser::consumeRulesFromConfig(const Config &C,
llvm::SmallVector<const char *, 2> CallDescParts{NameParts.size()};
llvm::transform(NameParts, CallDescParts.begin(),
[](SmallString<32> &S) { return S.c_str(); });
Rules.emplace_back(CallDescParts, std::move(Rule));
Rules.emplace_back(CallDescription(CallDescParts), std::move(Rule));
}

void GenericTaintRuleParser::parseConfig(const std::string &Option,
Expand Down

0 comments on commit 262cc74

Please sign in to comment.