mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-09-11 13:36:13 +03:00
ClangPlugins: Use underscores instead of dashes in plugin names
This allows arguments to be passed to them from the command line
This commit is contained in:
parent
c739ae3e02
commit
d74838f44d
Notes:
sideshowbarker
2024-07-17 05:19:06 +09:00
Author: https://github.com/mattco98 Commit: https://github.com/SerenityOS/serenity/commit/d74838f44d Pull-request: https://github.com/SerenityOS/serenity/pull/24422 Issue: https://github.com/SerenityOS/serenity/issues/23880 Issue: https://github.com/SerenityOS/serenity/issues/23881 Issue: https://github.com/SerenityOS/serenity/issues/23900 Reviewed-by: https://github.com/ADKaster ✅
@ -129,4 +129,4 @@ std::unique_ptr<clang::ASTConsumer> LambdaCapturePluginAction::CreateASTConsumer
|
||||
return std::make_unique<Consumer>();
|
||||
}
|
||||
|
||||
static clang::FrontendPluginRegistry::Add<LambdaCapturePluginAction> X("lambda-capture", "analyze lambda captures");
|
||||
static clang::FrontendPluginRegistry::Add<LambdaCapturePluginAction> X("lambda_capture", "analyze lambda captures");
|
||||
|
@ -258,4 +258,4 @@ void LibJSGCASTConsumer::HandleTranslationUnit(clang::ASTContext& context)
|
||||
visitor.TraverseDecl(context.getTranslationUnitDecl());
|
||||
}
|
||||
|
||||
static clang::FrontendPluginRegistry::Add<LibJSGCPluginAction> X("libjs-gc-scanner", "analyze LibJS GC usage");
|
||||
static clang::FrontendPluginRegistry::Add<LibJSGCPluginAction> X("libjs_gc_scanner", "analyze LibJS GC usage");
|
||||
|
Loading…
Reference in New Issue
Block a user