-
Notifications
You must be signed in to change notification settings - Fork 12.5k
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
[libclang] Declaration inside If Statement cursor missing when calling clang_visitChildren #107
Labels
clang:tooling
LibTooling
Comments
Teemperor
pushed a commit
to Teemperor/llvm-project
that referenced
this issue
Feb 24, 2020
Windows compatibility fixes
RKSimon
added
the
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
label
Apr 12, 2022
@llvm/issue-subscribers-clang-frontend |
EugeneZelenko
added
clang:tooling
LibTooling
and removed
clang:frontend
Language frontend issues, e.g. anything involving "Sema"
labels
Apr 12, 2022
cuviper
pushed a commit
to cuviper/llvm-project
that referenced
this issue
Aug 27, 2023
[PowerPC] Handle FP physical register in inline asm constraint.
mjklemm
pushed a commit
to mjklemm/llvm-project
that referenced
this issue
Jul 4, 2024
…lvm#107) When emitting the ops required to compute the target loop's trip count, flang might emit ops outside the target regions that operands defined inside the region. This is fixed up by `HostClausesInsertionGuard` already. However, the current support only handles simple cases. If the loop control contains more elaborate expressions, the fix up logic does not handle it properly. This PR handles such cases.
RevySR
pushed a commit
to revyos/llvm-project
that referenced
this issue
Jul 27, 2024
alexanderguy
pushed a commit
to alexanderguy/llvm-project
that referenced
this issue
Sep 25, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi,
The following legal C++17 code produces the following AST if you call clang from the terminal with
-Xclang -ast-dump -std=c++17 -fsyntax-only
:Note the DeclStmt cursor and children.
However, when using libclang on the same code by calling
clang_visitChildren
, the DeclStmt cursor and its children are never 'visited'. This was tested using the latest Windows x64 build (9.0.0)The text was updated successfully, but these errors were encountered: