aboutsummaryrefslogtreecommitdiff
path: root/flang/lib/Frontend/CompilerInvocation.cpp
diff options
context:
space:
mode:
authorYanzuo Liu <zwuis@outlook.com>2024-07-26 20:39:46 +0800
committerGitHub <noreply@github.com>2024-07-26 08:39:46 -0400
commit9d220956320a36fd127ee14ed41f0ecdcc0fb5b0 (patch)
tree552397d3a405be13fd08c3e3900f614ea134fc6a /flang/lib/Frontend/CompilerInvocation.cpp
parent22bc9db92b46965882b1c77aebc86430149b0912 (diff)
downloadllvm-9d220956320a36fd127ee14ed41f0ecdcc0fb5b0.zip
llvm-9d220956320a36fd127ee14ed41f0ecdcc0fb5b0.tar.gz
llvm-9d220956320a36fd127ee14ed41f0ecdcc0fb5b0.tar.bz2
[Clang] Remove `IDNS_Ordinary` flag in `IndirectFieldDecl::IdentifierNamespace` (#100525)
There is a `IDNS_Ordinary` flag in `IndirectFieldDecl::IdentifierNamespace` so that members in nested anonymous struct/union can be found as ordinary identifiers. ```c struct S { struct { int x; }; // Previous behaviour: `x` in previous line is found // Expected: nothing is found int arr[sizeof(x)]; }; ``` This PR fixes this issue. Fixes #31295.
Diffstat (limited to 'flang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions