Changeset View
Changeset View
Standalone View
Standalone View
src/Clazy.cpp
Show First 20 Lines • Show All 378 Lines • ▼ Show 20 Line(s) | 365 | { | |||
---|---|---|---|---|---|
379 | CheckBase::List createdChecks = cm->createChecks(requestedChecks, context); | 379 | CheckBase::List createdChecks = cm->createChecks(requestedChecks, context); | ||
380 | for (CheckBase *check : createdChecks) { | 380 | for (CheckBase *check : createdChecks) { | ||
381 | astConsumer->addCheck(check); | 381 | astConsumer->addCheck(check); | ||
382 | } | 382 | } | ||
383 | 383 | | |||
384 | return unique_ptr<ASTConsumer>(astConsumer); | 384 | return unique_ptr<ASTConsumer>(astConsumer); | ||
385 | } | 385 | } | ||
386 | 386 | | |||
387 | volatile int ClazyPluginAnchorSource = 0; | ||||
388 | | ||||
387 | static FrontendPluginRegistry::Add<ClazyASTAction> | 389 | static FrontendPluginRegistry::Add<ClazyASTAction> | ||
388 | X("clang-lazy", "clang lazy plugin"); | 390 | X("clang-lazy", "clang lazy plugin"); |