[PATCH] D153369: [OpenMP] Always apply target declarations to canonical definitions
Alexey Bataev via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Jun 20 11:20:22 PDT 2023
ABataev added inline comments.
================
Comment at: clang/lib/Sema/SemaOpenMP.cpp:23099
+ CD->addAttr(A);
if (ASTMutationListener *ML = Context.getASTMutationListener())
ML->DeclarationMarkedOpenMPDeclareTarget(D, A);
----------------
Need to use ML->DeclarationMarkedOpenMPDeclareTarget for CD too.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D153369/new/
https://reviews.llvm.org/D153369
More information about the cfe-commits
mailing list