Ehren Metcalfe
b970560e98
Bug 575720 - static checking suite: use Dehydra multiple-arg support + fix method signature comparison in several scripts r=taras
2010-08-18 18:06:05 -07:00
Ehren Metcalfe
eefb380a24
Bug 576214 - fix NS_STACK_CLASS analysis for Dehydra with GCC 4.5 r=taras
2010-08-18 18:05:49 -07:00
Ehren Metcalfe
9082c6c811
Bug 573786 - Script to detect static initializers r=taras
2010-08-18 18:04:39 -07:00
Josh Matthews
4bc037366d
Bug 551286: Add a per function 'final' keyword in C++. r=tglek
2010-03-28 11:44:33 -04:00
Benjamin Smedberg
b4cc34446e
Bug 500870 - NS_OVERRIDE indicates that a method must override a base-class method, r=taras
...
--HG--
extra : rebase_source : 3dc3327030dc2cdf45bdd9170c5e9d02908c0d0c
2009-09-04 11:21:31 -04:00
Taras Glek
a7a24a1627
Bug 512726 - Add NS_MUST_OVERRIDE static annotation. r=bsmedberg
...
--HG--
extra : rebase_source : 4f3034c93cc76c7504d1cfb21953c495c35d068f
2009-09-18 10:26:13 -07:00
Benjamin Smedberg
ba372f3a4c
Followup to bug 398573 - remove REQUIRES from the tree since it is no longer used... automatically generated patch, rs=ted
2009-08-25 08:59:31 -07:00
Benjamin Smedberg
6863d9f3f4
Resolve the static-analysis bustage from bug 498938 by recognizing COND_EXPR.
2009-07-27 10:47:22 -04:00
Benjamin Smedberg
1d82751d1f
Static analysis test cases for bug 479441
2009-02-24 10:11:06 -05:00
Benjamin Smedberg
4f688dc6c7
Disable the outparams warning "written on NS_FAILED"... we should focus first on the "not written on NS_SUCCEEDED" warnings, which are generally more serious. No bug, NPODB, CLOSED TREE a=johnath
2008-12-09 17:34:48 -05:00
Benjamin Smedberg
be64754c95
When operator new is used on a class with no constructor it generates an AGGR_INIT_EXPR, not a CALL_EXPR... with testcase. NPODB, static-checking only.
2008-12-03 11:49:54 -05:00
Benjamin Smedberg
4c8620d49e
I switched the stack checker to emit warnings instead of errors. Update the testcases expected results to match.
2008-12-03 11:49:54 -05:00
Justin Wood
7d5b5e0578
Bug 463824, Introduce GLOBAL_DEPS to build system
...
r=ted, a1.9.1=beltzner [js bits rs=sdwilsh]
2008-11-27 18:26:44 -08:00
Shawn Wilsher
bb525b1207
Backed out changeset 87f6ae0c4324 (bug 435474) for orange.
2008-11-27 13:15:18 -08:00
Justin Wood
9d391015e1
Bug 463824, Introduce GLOBAL_DEPS to build system
...
r=ted, a1.9.1=beltzner
2008-11-27 12:27:41 -08:00
Jim Blandy
5f8373a321
Bug 462451: Don't be confused by .deps dirs in the source tree. r=bsmedberg
...
$(MDDEPDIR) needs to be created in the build tree, but if make rules
list $(MDDEPDIR) as a dependency, then the VPATH search will tend to
find dependency directories in source trees if the source tree has
been configured in the past. So use $(CURDIR)/$(MDDEPDIR) instead.
Some directory Makefiles have been adding $(MDDEPDIR) to MAKE_DIRS and
GARBAGE_DIRS explicitly, since they're not setting any of the
variables that would cause config/rules.mk to create $(MDDEPDIR)
automatically. Those makefiles would have to use the $(CURDIR) trick
to defeat the VPATH search, too. Instead, have rules.mk check an
additional variable NEED_MDDEPDIRS, and let the makefiles set that;
this keeps the magic in one place.
2008-11-10 12:55:46 -08:00
Taras Glek
56911014d8
bug 432917: MUST_FLOW_THROUGH static check. r=bsmedberg
2008-09-08 11:01:22 -07:00
Benjamin Smedberg
9123cda70b
Bug 453349 - stack-only checker skips conditional blocks, r=dmandelin
2008-09-03 13:00:13 -04:00
David Mandelin
a2ff55c59e
Bug 451079: allow setting outparams to null on failure
2008-08-19 11:17:13 -07:00
David Mandelin
85de90adf1
Bug 443205: outparams.js needs to consider void-return funcs as nofail, r=bsmedberg
2008-07-09 10:35:29 -07:00
David Mandelin
07ce05b161
Bug 442982: outparams.js now understands func ptr typedef attributes, r=bsmedberg
2008-07-01 14:24:58 -07:00
David Mandelin
7266d7e76e
Bug 442829: outparams.js handling nsresults returned as &rv, r=bsmedberg
2008-07-01 14:22:49 -07:00
Benjamin Smedberg
3eab5b1142
Bug 425454 - whitelist placement-new for stack classes. Also uses treehydra analysis so we don't have to require a constructor for stack classes any more. r=taras
2008-06-30 12:44:06 -04:00
David Mandelin
0540f825ba
Bug 431832: check outparams for PRBool or void return, r+a=bsmedberg
2008-05-20 11:26:03 -07:00
Benjamin Smedberg
b4225d2b7c
Bug 432278 - Fix a couple of the static-checking testcases: clean up the makefile-fu a little bit, and add a new class of test: one which should issue warnings, which equates to "should fail with -Werror and should pass without -Werror." r=dmandelin
2008-05-05 14:32:31 -04:00
David Mandelin
f8c68d8368
Bug 431832: NS_inparams attr for outparams checker, r=bsmedberg, a=bsmedberg
2008-05-02 18:03:38 -07:00
David Mandelin
4548bac7b1
Bug 420933: outparams checker, r=bsmedberg, a=bsmedberg
2008-04-30 17:47:27 -07:00
benjamin@smedbergs.us
62231824a0
Bug 419624 - Build framework, basic usage, and testsuite for statically checking the codebase using gcc-dehydra, r=luser,dbaron,tglek
2008-02-27 11:28:13 -05:00