WIP: oclint: new package

FIXME: doesn't build (tried with clang 3.2):

building rules/basic/CMakeFiles/BitwiseOperatorInConditionalRule.dir/all
building rules/basic/CMakeFiles/BitwiseOperatorInConditionalRule.dir/depend
Scanning dependencies of target BitwiseOperatorInConditionalRule
building rules/basic/CMakeFiles/BitwiseOperatorInConditionalRule.dir/BitwiseOperatorInConditionalRule.cpp.o
[  5%] Building CXX object
rules/basic/CMakeFiles/BitwiseOperatorInConditionalRule.dir/BitwiseOperatorInConditionalRule.cpp.o
In file included from
/tmp/nix-build-oclint-0.7.drv-0/oclint-0.7-src/oclint-rules/rules/basic/BitwiseOperatorInConditionalRule.cpp:1:
/tmp/nix-build-oclint-0.7.drv-0/oclint-0.7-src/oclint-rules/include/oclint/AbstractASTMatcherRule.h:36:17:
error: no member named 'match' in 'clang::ast_matchers::MatchFinder'
        _finder.match(*decl, *_carrier->getASTContext());
        ~~~~~~~ ^
/tmp/nix-build-oclint-0.7.drv-0/oclint-0.7-src/oclint-rules/include/oclint/AbstractASTMatcherRule.h:42:17:
error: no member named 'match' in 'clang::ast_matchers::MatchFinder'
        _finder.match(*stmt, *_carrier->getASTContext());
        ~~~~~~~ ^
2 errors generated.
make[2]: *** [rules/basic/CMakeFiles/BitwiseOperatorInConditionalRule.dir/BitwiseOperatorInConditionalRule.cpp.o] Error 1
make[1]: *** [rules/basic/CMakeFiles/BitwiseOperatorInConditionalRule.dir/all] Error 2
make: *** [all] Error 2
builder for `/nix/store/1nsivwrs9viz8c9kd85xwrg4x3m3wp0r-oclint-0.7.drv' failed with exit code 1
error: build of `/nix/store/1nsivwrs9viz8c9kd85xwrg4x3m3wp0r-oclint-0.7.drv' failed
----

oclint is a static code analysis tool based on Clang/LLVM.

http://oclint.org/