[all-commits] [llvm/llvm-project] 0baefe: [clang][OpenMP] Add AST nodes for opaque block/loo...
Krzysztof Parzyszek via All-commits
all-commits at lists.llvm.org
Thu Sep 19 07:18:54 PDT 2024
Branch: refs/heads/users/kparzysz/spr/p02-a01-clang-opaque-directive
Home: https://github.com/llvm/llvm-project
Commit: 0baefe179b9f2e295ef4bbd659ca98a31e1547d0
https://github.com/llvm/llvm-project/commit/0baefe179b9f2e295ef4bbd659ca98a31e1547d0
Author: Krzysztof Parzyszek <Krzysztof.Parzyszek at amd.com>
Date: 2024-09-19 (Thu, 19 Sep 2024)
Changed paths:
M clang/bindings/python/clang/cindex.py
M clang/include/clang-c/Index.h
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/include/clang/AST/StmtOpenMP.h
M clang/include/clang/AST/TextNodeDumper.h
M clang/include/clang/Basic/StmtNodes.td
M clang/include/clang/Sema/SemaOpenMP.h
M clang/include/clang/Serialization/ASTBitCodes.h
M clang/lib/AST/StmtOpenMP.cpp
M clang/lib/AST/StmtPrinter.cpp
M clang/lib/AST/StmtProfile.cpp
M clang/lib/AST/TextNodeDumper.cpp
M clang/lib/CodeGen/CGStmt.cpp
M clang/lib/Sema/SemaExceptionSpec.cpp
M clang/lib/Sema/SemaOpenMP.cpp
M clang/lib/Sema/TreeTransform.h
M clang/lib/Serialization/ASTReaderStmt.cpp
M clang/lib/Serialization/ASTWriterStmt.cpp
M clang/lib/StaticAnalyzer/Core/ExprEngine.cpp
M clang/test/OpenMP/Inputs/nesting_of_regions.cpp
M clang/test/OpenMP/atomic_messages.cpp
M clang/test/OpenMP/critical_messages.cpp
M clang/test/OpenMP/default_firstprivate_ast_print.cpp
M clang/test/OpenMP/default_private_ast_print.cpp
M clang/test/OpenMP/error_message.cpp
M clang/test/OpenMP/generic_loop_ast_print.cpp
M clang/test/OpenMP/interop_ast_print.cpp
M clang/test/OpenMP/scope_ast_print.cpp
M clang/test/OpenMP/target_update_from_messages.cpp
M clang/test/OpenMP/target_update_to_messages.cpp
M clang/test/OpenMP/task_messages.cpp
M clang/tools/libclang/CIndex.cpp
M clang/tools/libclang/CXCursor.cpp
Log Message:
-----------
[clang][OpenMP] Add AST nodes for opaque block/loop directives
Add two new AST nodes:
1. `OMPOpaqueBlockDirective` representing an executable directive
not associated with a loop, and
2. `OMPOpaqueLoopDirective` representing an executable directive
associated with a loop.
This is an indermediate step towards treating compound directives as
a sequece of either leaf or composite directives. The break-up of
compound directives into these constituents may be impossible in a
template, since the identity of objects referenced in clauses may
be impossible to establish.
When an executable directive is encountered in a function template, it
will be represented by one of the new AST nodes, depending on its
association. When the template is instantiated, these AST nodes will
replaced with the AST nodes used in non-templates.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list