summaryrefslogtreecommitdiffstats
path: root/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/scripts/pclint/lint_cfg.lnt
diff options
context:
space:
mode:
authorMichele Calgaro <michele.calgaro@yahoo.it>2021-05-19 16:22:10 +0900
committerMichele Calgaro <michele.calgaro@yahoo.it>2021-05-19 19:14:52 +0900
commit71fb4a139179e9d27070f7f3e98971e3e029697f (patch)
tree92fbf03f1e546b3c99e6e06e98100b6ef8e4e2c6 /debian/uncrustify-trinity/uncrustify-trinity-0.73.0/scripts/pclint/lint_cfg.lnt
parent6eae1a16a1001287ef5129db86f4ef2145ace3ca (diff)
downloadextra-dependencies-71fb4a139179e9d27070f7f3e98971e3e029697f.tar.gz
extra-dependencies-71fb4a139179e9d27070f7f3e98971e3e029697f.zip
uncrustify: updated to version 0.73
Signed-off-by: Michele Calgaro <michele.calgaro@yahoo.it>
Diffstat (limited to 'debian/uncrustify-trinity/uncrustify-trinity-0.73.0/scripts/pclint/lint_cfg.lnt')
-rw-r--r--debian/uncrustify-trinity/uncrustify-trinity-0.73.0/scripts/pclint/lint_cfg.lnt55
1 files changed, 55 insertions, 0 deletions
diff --git a/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/scripts/pclint/lint_cfg.lnt b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/scripts/pclint/lint_cfg.lnt
new file mode 100644
index 00000000..72530d53
--- /dev/null
+++ b/debian/uncrustify-trinity/uncrustify-trinity-0.73.0/scripts/pclint/lint_cfg.lnt
@@ -0,0 +1,55 @@
+// These settings are used to adjust the pcLint checking for
+// the operating unit source code
+
+// show pclint where to find Header files
+-i".\include"
+-i".\lib"
+-i".\src"
+
+-iC:\mingw\include
+-iC:\mingw\lib\gcc\mingw32\4.8.1\include\
+-iC:\mingw\lib\gcc\mingw32\4.8.1\include\-fixed
+-iC:\mingw\lib\gcc\mingw32\4.8.1\include\c++\
+-iC:\mingw\lib\gcc\mingw32\4.8.1\include\c++\mingw32
+//+libdir(D:\Programme\linaro\gcc-linaro-arm-linux-gnueabihf-4.9-2014.08\*) // define a directory as holding only headers, may be used with * or ?
+//+libdir(D:\Programme\linaro\gcc-linaro-arm-linux-gnueabihf-4.9-2014.08\libc\usr\include\*)
+
+//+libclass(ansi) // use this if only ANSI headers are seen as unchecked libraries
++libclass(foreign) // ignore all headers comeing from a foreign directory using -i or the INCLUDE environment variable
+//+libclass(angle) // ingore all headers specified with angle brackets
+//+libclass(all) // ignore all header files
++libh(co-ggc.lnt) // ignore this file
+//+libdir(uncrustify/scripts/*)
+//-wlib(1)
+
+// Compiler specific configuration for Visual DSP
+
+// co-tiger.lnt use this file for tiger sharc as reference
+scripts\pclint\co-gcc.lnt // Compiler Options for GCC
+
+// Configuration for checking the operating unit source code
+
+//-d__ARM_PCS_VFP
+-d__cplusplus
+-d_GNU_SOURCE
+//-d__GNUC__
+-d__STDC__
+//-d__GLIBCXX__=20130531
+//-d__SIZE_TYPE__=int
+//-d__PTRDIFF_TYPE__=int
+//-d__CHAR_BIT__=8
+-dWIN32
+-d__i386__
+-dDEFINE_CHAR_TABLE
+-dDEFINE_PCF_NAMES
+
+// define compiler specific keywords
+
+//+rw(__inline) // activate the __inline keyword
+//+ppw(import) // activate #import
+//-d"_exit=_up_to_brackets"
+//-d"extern 'C'=gobble"
+//+fkp // complain about non-KR extensions
+
+// To print a stack usage report pclint has to know how much space is required by some functions
+// define an upper limit of stack space usage for recursion and function pointers