Skip to content

Instantly share code, notes, and snippets.

Longyi Qi lqi

Block or report user

Report or block lqi

Hide content and notifications from this user.

Learn more about blocking users

Contact Support about this user’s behavior.

Learn more about reporting abuse

Report abuse
View GitHub Profile
source ~/.bash_profile
/path/to/ -reporter json-compilation-database:compile_commands.json clean
/path/to/ -reporter json-compilation-database:compile_commands.json build
oclint-json-compilation-database | sed 's/\(.*\.\m\{1,2\}:[0-9]*:[0-9]*:\)/\1 warning:/'
View gist:5358513
source ~/.bash_profile
hash oclint &> /dev/null
if [ $? -eq 1 ]; then
echo >&2 "oclint not found, analyzing stopped"
exit 1
You can’t perform that action at this time.