| Summary: | No support for repetitive inclusion of same file to (un)define macros, e.g. boost/filesystem.hpp | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Sebastian Bauer <mail> |
| Component: | cdt-indexer | Assignee: | Markus Schorn <mschorn.eclipse> |
| Status: | RESOLVED FIXED | QA Contact: | Markus Schorn <mschorn.eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | nikitin.alexander, yevshif, zeratul976 |
| Version: | 7.0 | ||
| Target Milestone: | 8.1.0 | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
|
Description
Sebastian Bauer
What is the problem you are observing? At the state of point 4, the content assist doesn't provide any completion suggestions for the itr-> contruct. Other components such as the refactoring don't seem to work if that information is not available (see Bug 318130). That it does provide completion suggestions at the state of point 8 is an additional observation, which could help to track down the problem. I can reproduce the problem. Root cause seems to be the pattern: // header a.h and b.h #include <boost/type_traits/detail/bool_trait_def.hpp> .... #include <boost/type_traits/detail/bool_trait_undef.hpp> // source a.cpp #include "a.h" #include "b.h" // we don't look at bool_trait_def.hpp and miss some macros This works for me with the latest Juno build. I think the fix to Bug 197989 is what fixed it. (In reply to comment #4) > This works for me with the latest Juno build. I think the fix to Bug 197989 is > what fixed it. Thanks, you are right. *** Bug 372598 has been marked as a duplicate of this bug. *** |