r349815 - Fix build failures from r349812 due to a missing argument.
Aaron Ballman via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 20 12:33:00 PST 2018
Author: aaronballman
Date: Thu Dec 20 12:32:59 2018
New Revision: 349815
URL: http://llvm.org/viewvc/llvm-project?rev=349815&view=rev
Log:
Fix build failures from r349812 due to a missing argument.
Modified:
cfe/trunk/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp
Modified: cfe/trunk/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp?rev=349815&r1=349814&r2=349815&view=diff
==============================================================================
--- cfe/trunk/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp (original)
+++ cfe/trunk/unittests/StaticAnalyzer/RegisterCustomCheckersTest.cpp Thu Dec 20 12:32:59 2018
@@ -59,7 +59,8 @@ public:
Compiler.getAnalyzerOpts()->CheckersControlList = {
{"custom.CustomChecker", true}};
AnalysisConsumer->AddCheckerRegistrationFn([](CheckerRegistry &Registry) {
- Registry.addChecker<CustomChecker>("custom.CustomChecker", "Description");
+ Registry.addChecker<CustomChecker>("custom.CustomChecker", "Description",
+ "");
});
return std::move(AnalysisConsumer);
}
More information about the cfe-commits
mailing list