Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Update function declaration doesn't follow using declarations. #58

Open
bpieszko opened this issue Feb 21, 2023 · 0 comments
Open

Comments

@bpieszko
Copy link

bpieszko commented Feb 21, 2023

\\ .cpp file
namespace NamespaceA {
  using NamespaceB::RetType;
  RetType ClassA::func() {
    ...
  }
}

\\ .hpp file
namespace NamespaceA {
  class ClassA {
  public:
    NamespaceB::RetType func();
  }
}

If I want to update the function declaration from the .cpp PoV then it will remove NamespaceB, but it will be incorrect from header file PoV.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant