https://bugs.kde.org/show_bug.cgi?id=299124 Bug ID: 299124 Severity: normal Version: unspecified Priority: NOR Assignee: kdevelop-bugs@kdevelop.org Summary: Return type of STL containers' access methods is not resolved (no code completion and DUChain is not built) Classification: Unclassified OS: Linux Reporter: intelfx100@gmail.com Hardware: Compiled Sources Status: UNCONFIRMED Component: Language Support: CPP Product: kdevelop If using a STL container from GCC 4.7.0 (with --std=c++0x), return type of their access methods like "std::vector<>::at()" is not resolved. This prevents the DUChain for members' access from being built: In this example: Reproducible: Always Steps to Reproduce: Sample code: ---- #include struct A { int fld; }; std::vector v; v.at(0).fld = 0; ---- Actual Results: 1) No auto-completion after typing "at(0)." 2) "fld = 0" is not being highlighted 3) Auto-renaming of "fld" doesn't work. -> The DUChain for "fld = 0" is not being built. Expected Results: 1) Auto-completion of "fld" after typing "at(0)." 2) "fld" in "fld = 0" being highlighted as a variable 3) Auto-renaming "fld" correctly replaces both uses -> The DUChain for "fld = 0" is expected to build correctly. GCC version is 4.7.0, and c++0x support is enabled. -- You are receiving this mail because: You are the assignee for the bug. _______________________________________________ KDevelop-bugs mailing list KDevelop-bugs@kdevelop.org https://barney.cs.uni-potsdam.de/mailman/listinfo/kdevelop-bugs