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 bad855d commit 78da4b6Copy full SHA for 78da4b6
clang-tools-extra/clang-tidy/ClangTidy.cpp
@@ -476,7 +476,8 @@ std::vector<std::string> ClangTidyASTConsumerFactory::getCheckNames() {
476
#if CLANG_TIDY_ENABLE_STATIC_ANALYZER
477
for (const auto &AnalyzerCheck : getAnalyzerCheckersAndPackages(
478
Context, Context.canEnableAnalyzerAlphaCheckers()))
479
- CheckNames.emplace_back(AnalyzerCheckNamePrefix + AnalyzerCheck.first);
+ CheckNames.emplace_back(
480
+ (AnalyzerCheckNamePrefix + AnalyzerCheck.first).str());
481
#endif // CLANG_TIDY_ENABLE_STATIC_ANALYZER
482
483
llvm::sort(CheckNames);
0 commit comments