History of Using RAII classes in Mozilla Revision history for: English (US) May 11, 2016, 1:33:45 AM bbouvier Another mention of MOZ_STACK_CLASS replaced by MOZ_RAII. Previous Jan 12, 2016, 3:01:22 AM Sintendo Previous Oct 16, 2015, 12:12:54 PM jswisher Add explicit keyword to single argument constructor (since otherwise static analysis builds will fail)Using_RAII_classes_in_Mozilla Mozilla/RAII_classes Previous Oct 15, 2015, 4:25:15 PM birtles Add explicit keyword to single argument constructor (since otherwise static analysis builds will fail) Previous Sep 17, 2015, 7:02:59 PM birtles Update mxr link to GuardObjects.h Previous Sep 15, 2015, 6:00:02 AM mystor Added mention of MOZ_RAII - new static analysis for RAII classes. Previous Mar 2, 2015, 9:57:59 AM Dholbert s/NS/MOZ/ in NS_STACK_CLASS. (since MOZ_STACK_CLASS is the current name for this annotation, per current version of https://mxr.mozilla.org/mozilla-central/source/mfbt/Attributes.h ) Previous Dec 24, 2013, 7:45:41 AM Dholbert Fix no-longer-correct macro names -- s/MOZILLA_/MOZ_/ per bug 711818 Previous Dec 24, 2013, 7:40:33 AM Dholbert Note that the GUARD macros don't live in jsutil.h. (jsutil.h now gets them by including GuardObjects.h) Previous Dec 24, 2013, 7:39:04 AM Dholbert Note that the GUARD macros now live in GuardObjects.h instead of AutoRestore.h, per bug 672796