[PATCH] D113118: [clang][AST] Check context of record in structural equivalence.
Shafik Yaghmour via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Fri Nov 5 11:25:24 PDT 2021
shafik added a comment.
How does it handle this case:
struct A {int x;};
struct A f(void) {
struct A{} a;
return a;
and this case:
struct b{};
struct a {int x;} // visible outside of f
f(struct b {int x; } b1) { // not visibile out of f
return (struct a){.x = 1};
}
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D113118/new/
https://reviews.llvm.org/D113118
More information about the cfe-commits
mailing list