[clang] [llvm] [Clang][OpenMP] Support for dispatch construct (Sema & Codegen) support (PR #117904)
Shilei Tian via llvm-commits
llvm-commits at lists.llvm.org
Tue Dec 10 10:43:58 PST 2024
================
@@ -10520,11 +10794,22 @@ StmtResult SemaOpenMP::ActOnOpenMPSectionDirective(Stmt *AStmt,
DSAStack->isCancelRegion());
}
+/// PseudoObjectExpr is a Trait for dispatch containing the
+/// function and its variant. Returning only the function.
+static Expr *RemovePseudoObjectExpr(Expr *PseudoObjExprOrDirectCall) {
----------------
shiltian wrote:
```suggestion
static Expr *removePseudoObjectExpr(Expr *PseudoObjExprOrDirectCall) {
```
https://github.com/llvm/llvm-project/pull/117904
More information about the llvm-commits
mailing list