| Summary: | Renaming enum class elements does not work across multiple files | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Nathan Ridge <zeratul976> |
| Component: | cdt-refactoring | Assignee: | Project Inbox <cdt-refactoring-inbox> |
| Status: | RESOLVED FIXED | QA Contact: | Sergey Prigogin <eclipse.sprigogin> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, yevshif |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
Works with the current master. |
Here is test.hpp: enum class my_enum {foo}; Here is test.cpp: #include "test.hpp" void f() { my_enum m = my_enum::foo; } If I now rename "foo" to "bar" (whether from test.hpp or test.hpp), the name in the other file one does not change. It works fine if everything is in same file, or if it's just a regular enum as opposed to enum class.