Commit 4683a456 authored by Jennifer Yu's avatar Jennifer Yu Committed by Tobias Hieta
Browse files

Fix assert during the call to getCanonicalDecl.

https://github.com/llvm/llvm-project/issues/56884

The root problem is in isOpenMPRebuildMemberExpr, it is only need to rebuild
for field expression.  No need for member function call.

The fix is to check field for member expression and skip rebuild for member
function call.

Differential Revision: https://reviews.llvm.org/D131024

(cherry picked from commit a7bca18b)
parent fbd2950d
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment