| Summary: | Extract function fails to extract several expressions | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Emanuel Graf <emanuel> |
| Component: | cdt-build | Assignee: | Emanuel Graf <emanuel> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | joshua |
| Version: | 5.0 | ||
| Target Milestone: | 5.0 | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Fixed in 5.0 and HEAD |
c++ code that shows the problem. Build ID: I20080617-2000 Steps To Reproduce: 1. Enter in this code: #include <string> #include <iostream.h> std::string toXML() { std::string name; name = "hello"; return "<" + name + ">" + "</" + name + ">"; } int main() { cout << toXML(); return 0; } If you try to extract the end of the line ("</" + name + ">") into a closedTag() method, it simply fails to extract anything and gives an error msg.