[all-commits] [llvm/llvm-project] a7bca1: Fix assert during the call to getCanonicalDecl.
jyu2-git via All-commits
all-commits at lists.llvm.org
Wed Aug 3 09:20:30 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: a7bca18bc50cd2483fded0c77706980b2721ce6a
https://github.com/llvm/llvm-project/commit/a7bca18bc50cd2483fded0c77706980b2721ce6a
Author: Jennifer Yu <jennifer.yu at intel.com>
Date: 2022-08-03 (Wed, 03 Aug 2022)
Changed paths:
M clang/lib/Sema/SemaOpenMP.cpp
M clang/test/OpenMP/parallel_default_messages.cpp
Log Message:
-----------
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
More information about the All-commits
mailing list