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

Check C++ types with the same identifiers #14

Open
tianxiaogu opened this issue Jan 25, 2022 · 0 comments
Open

Check C++ types with the same identifiers #14

tianxiaogu opened this issue Jan 25, 2022 · 0 comments

Comments

@tianxiaogu
Copy link
Collaborator

We assume that all C++ types with the same identifier have the same definition among all input files.
This assumption is taken without any check. We need to carefully check this assumption if possible.

// foo.h
class C {
  int i;
};
// bar.h
class C {
 std::string s;
};
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