[PATCH] D98558: [OPENMP51]Initial support for the interop directive
Mike Rice via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 16 14:27:04 PDT 2021
mikerice marked 2 inline comments as done.
mikerice added inline comments.
================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:14711
+ QualType VarType =
+ InteropVarExpr->getType().getNonLValueExprType(SemaRef.Context);
+ if (!SemaRef.Context.hasSameType(InteropType, VarType)) {
----------------
ABataev wrote:
> I don't think you need to call `getNonLValueExprType()` here since `InteropVarExpr` is an expression already.
Just needs the unqualified type.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D98558/new/
https://reviews.llvm.org/D98558
More information about the llvm-commits
mailing list