Skip to content

Clang Static Analyzer #8

@andrewsardone

Description

@andrewsardone

Is there any interest in adding a task or configuration to build with Clang's Static Analyzer? If so, I'd be interested in getting a handle on what would be required.

I recently hacked an analyze task into the xcode namespace on a project. It required an installation of clang's scan-build, and it simply shelled out to xcodebuild manually. It is handy tool – scan-build produces html or plist-based reports from the analysis.

It seems to me like the implementation would involve an xcode:analyze task that could prefix the command in xcode_build.rb with scan-build (the installation being set via an environment variable).

It's a crude implementation, but no matter what I think the task would be a nice addition. Any thoughts?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions