File: Cppcheck.sh

package info (click to toggle)
swift-im 2.0~beta1%2Bdev47-1
  • links: PTS, VCS
  • area: main
  • in suites: wheezy
  • size: 13,508 kB
  • sloc: cpp: 79,149; python: 1,397; xml: 546; sh: 150; ansic: 54; makefile: 40
file content (20 lines) | stat: -rwxr-xr-x 552 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
#!/bin/sh

cppcheck $@  \
	--enable=all \
	--inline-suppr \
	--suppress=postfixOperator:3rdParty/hippomocks.h \
	--suppress=stlSize:3rdParty/hippomocks.h \
	--suppress=noConstructor \
	--suppress=publicAllocationError:Swift/Controllers/Chat/UnitTest/ChatsManagerTest.cpp \
	-i 3rdParty -i .git -i .sconf_temp \
	-i Swiftob/linit.cpp \
	-i Swift/QtUI/EventViewer/main.cpp \
	-i Swift/QtUI/ApplicationTest \
	-i Swift/QtUI/ChatView/main.cpp \
	-i Swift/QtUI/Roster/main.cpp \
	-i Swift/QtUI/NotifierTest/NotifierTest.cpp \
	\
	-I . \
	-I Swift/QtUI \
	.