Releases: GregUtas/robust-services-core
Releases · GregUtas/robust-services-core
20210403a
- Enhance
>fix
to supportItemCouldBeProtected
,ItemCouldBePrivate
,VirtualDestructor
,ConstructorNotPrivate
, andDestructorNotPrivate
- Don't log
ItemCouldBeProtected
orItemCouldBePrivate
on- a member of a
struct
orunion
- an operator, unless
operator=
- a member of a
- Don't log
VirtualDestructor
on a base class intended for use by singletons - Fix bug: position of an
#include
not updated during edits - Fix bug: access control followed by declaration needs to be classified as a line of code
20210327a
- Fix bug:
CodeWarning
position not updated, causing incorrect>fix
prompts, or even incorrect edits, when making multiple edits to a file. - Don't log
FunctionIsUnused
on a comparison operator if another one is used. - Don't log
FunctionIsUnused
on a copy constructor or copy operator if the other one is used or if the destructor is defined. - When changing
class
tostruct
or vice versa, also change forward declarations. - Log a preprocessor directive other than an
#include
,#include
guard,#ifdef
<platform-target>, or#define
for a symbol that is an empty string.
20210326a
20210323b
20210323a
- Add a warning for an unnecessary cast.
- Add a warning for an excessive cast.
- Add a warning for
static
class data that can move to the .cpp that initializes it. - Add a warning for a singleton whose constructor isn't private.
- Add a warning for a singleton whose destructor isn't private.
- Add a warning for a redundant scope name.
- Enhance
Editor
to>fix
a redundant scope name. Run this on RSC's code. - When fixing
DefinitionRenamesArgument
, prompt for which name to use. - Remove
Class.dirs_
: a preprocessor directive found when compiling a class should be added to the current file, not class. - Record an invocation on class member destructors when a class's destructor is invoked.
20210316a
20210315a
- Add
CodeItemSet
to hold and operate on a set of C++ code items. - Define the operators
db
,df
,ds
,rb
, andrs
to operate on code items. Enter the CLI command>help ct full
for an overview. - Generate .lib, .trim, and .xref files in a repeatable order to avoid noise in diffs.
- Include forward and friend declarations, and references to typedefs, in cross-references.
- Fix the referent of a base class constructor call (was the class, is now the constructor).
- Fix bug uncovered by the previous fix:
using namespace Space;
didn't make a constructor visible. Its qualified name isSpace::Class::Class
, so the code wanted to seeusing Space::Class;
- Fix bug where code of the form
auto local = Class();
was fixed (W113) asClass local();
instead ofClass local;