You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Uncrustify version 0.78.1 (also occurs in latest commit for the master branch - 42cbc77).
Use the default config settings, but set sp_arith to force.
In a class, the first function after an access specifier, when returning a pointer, with the presence of calling conventions (e.g. __cdecl, __fastcall), the pointer appears to be incorrectly treated as sp_arith.
Expected results:
#ifndef TestSPArithH
#define TestSPArithH
class Test
{
public:
Test* __fascall TestMethod1();
Test* __fascall TestMethod2();
};
#endif
Actual results:
#ifndef TestSPArithH
#define TestSPArithH
class Test
{
public:
Test * __fascall TestMethod1(); // The '*' on this line appears to be incorrectly treated as "sp_arith"
Test* __fascall TestMethod2(); // This line is fine
};
#endif
The text was updated successfully, but these errors were encountered:
Uncrustify version 0.78.1 (also occurs in latest commit for the master branch - 42cbc77).
Use the default config settings, but set
sp_arith
toforce
.In a class, the first function after an access specifier, when returning a pointer, with the presence of calling conventions (e.g. __cdecl, __fastcall), the pointer appears to be incorrectly treated as
sp_arith
.Expected results:
Actual results:
The text was updated successfully, but these errors were encountered: