Skip to content

Commit 78da4b6

Browse files
committed
Fix build
1 parent bad855d commit 78da4b6

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

clang-tools-extra/clang-tidy/ClangTidy.cpp

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -476,7 +476,8 @@ std::vector<std::string> ClangTidyASTConsumerFactory::getCheckNames() {
476476
#if CLANG_TIDY_ENABLE_STATIC_ANALYZER
477477
for (const auto &AnalyzerCheck : getAnalyzerCheckersAndPackages(
478478
Context, Context.canEnableAnalyzerAlphaCheckers()))
479-
CheckNames.emplace_back(AnalyzerCheckNamePrefix + AnalyzerCheck.first);
479+
CheckNames.emplace_back(
480+
(AnalyzerCheckNamePrefix + AnalyzerCheck.first).str());
480481
#endif // CLANG_TIDY_ENABLE_STATIC_ANALYZER
481482

482483
llvm::sort(CheckNames);

0 commit comments

Comments
 (0)