Developer forums (C::B DEVELOPMENT STRICTLY!) > CodeCompletion redesign

calculation of BaseType has changed?

<< < (2/2)

ollydbg:

--- Quote from: MortenMacFly on March 16, 2012, 05:25:18 pm ---BTW: I think there are actually two issues: First, the correct type of functions / methods is not found due to what I have commented in ParserThread::GetTokenBaseType() (I am working on that but its not so easy).

--- End quote ---


--- Code: ---    // TODO (Morten#5#): Handle stuff like the following gracefully:
    // int __cdecl __MINGW_NOTHROW vscanf (const char * __restrict__, __VALIST);

--- End code ---

1, we can add a function like "RemoveAttributeSpecifier()", so we can remove something like: __cdecl  or __stdcall
2, __MINGW_NOTHROW can be macro replaced, either to an empty string, or to #define __MINGW_NOTHROW __attribute__ ((__nothrow__)), and I think the __attribute__ should be removed in the RemoveAttributeSpecifier().
3, we can heuristically remove all the tokens like "__XXXXXX".

Navigation

[0] Message Index

[*] Previous page

Go to full version