hello :
I found that codecompletion would not work if variant's type is unnamed struct .
code like this :
struct
{
int x;
int y;
}cls;
int main()
{
cls.//not work here.
cout << "Hello world!" << endl;
return 0;
}
here is the patch:
Index: parserthread.cpp
===================================================================
--- parserthread.cpp (revision 5696)
+++ parserthread.cpp (working copy)
@@ -1228,7 +1228,7 @@
{
static size_t num = 0;
wxString unnamedTmp;
- unnamedTmp.Printf(_T("Unnamed-%s-%d"),
+ unnamedTmp.Printf(_T("Unnamed%s%d"),
ct == ctClass ? _T("Class") :
ct == ctUnion ? _T("Union") :
_T("Struct"), num++);
[attachment deleted by admin]