+++ /dev/null
-.PHONY: boolt testalt booltest boolbad hoof testalt uconstants
-
-LCLINT = lclint
-
-all: testalt boolt uconstants badcomment hoof boolbad booltest
-
-testalt:
- ${LCLINT} -dump newlint.lcd testalt.c
-
-boolt:
- ${LCLINT} -expect 1 +partial +booltype pan_bool_t +booltrue PAN_TRUE +boolfalse PAN_FALSE boolt.c
-
-uconstants:
- ${LCLINT} uconstants.c -expect 2
-
-badcomment:
- ${LCLINT} badcomment.c -expect 3
-
-hoof:
- ${LCLINT} hoof.c -expect 1
- ${LCLINT} hoof.c +ignorequals
-
-ignorecmd:
- ${LCLINT} +ignorecommand -we
-
-booltest:
- ${LCLINT} booltest.c -booltype bool -expect 2
- ${LCLINT} booltest.c -booltype bool +boolint
- ${LCLINT} booltest.c -booltype bool -predboolint -expect 1
-
-boolbad:
- ${LCLINT} -weak -booltype BOOLEAN boolbad.c
+++ /dev/null
-typedef unsigned long long pan_unit64_t;
-
-void f ()
-{
- unsigned long long put = 0xFFFFFULL;
- pan_unit64_t pt = 0xFFFFFFFFFFFFFULL;
- pt++;
-}