Changeset View
Changeset View
Standalone View
Standalone View
cfe/trunk/lib/FrontendTool/ExecuteCompilerInvocation.cpp
Show First 20 Lines • Show All 264 Lines • ▼ Show 20 Line(s) | 240 | #if CLANG_ENABLE_STATIC_ANALYZER | |||
---|---|---|---|---|---|
265 | 265 | | |||
266 | // Honor -analyzer-list-enabled-checkers. | 266 | // Honor -analyzer-list-enabled-checkers. | ||
267 | if (AnOpts.ShowEnabledCheckerList) { | 267 | if (AnOpts.ShowEnabledCheckerList) { | ||
268 | ento::printEnabledCheckerList(llvm::outs(), | 268 | ento::printEnabledCheckerList(llvm::outs(), | ||
269 | Clang->getFrontendOpts().Plugins, | 269 | Clang->getFrontendOpts().Plugins, | ||
270 | AnOpts, | 270 | AnOpts, | ||
271 | Clang->getDiagnostics(), | 271 | Clang->getDiagnostics(), | ||
272 | Clang->getLangOpts()); | 272 | Clang->getLangOpts()); | ||
273 | return true; | ||||
273 | } | 274 | } | ||
274 | 275 | | |||
275 | // Honor -analyzer-config-help. | 276 | // Honor -analyzer-config-help. | ||
276 | if (AnOpts.ShowConfigOptionsList) { | 277 | if (AnOpts.ShowConfigOptionsList) { | ||
277 | ento::printAnalyzerConfigList(llvm::outs()); | 278 | ento::printAnalyzerConfigList(llvm::outs()); | ||
278 | return true; | 279 | return true; | ||
279 | } | 280 | } | ||
280 | #endif | 281 | #endif | ||
Show All 15 Lines |