--- tools/clang/tools/scan-build/libexec/c++-analyzer.orig 2016-10-12 02:17:08 UTC +++ tools/clang/tools/scan-build/libexec/c++-analyzer @@ -0,0 +1,8 @@ +#!/usr/bin/env perl + +use Cwd qw/ abs_path /; +use File::Basename qw/ dirname /; +# Add scan-build dir to the list of places where perl looks for modules. +use lib dirname(abs_path($0)); + +do 'ccc-analyzer';