[PATCH] D38798: [OpenMP] Support for implicit "declare target" functions - Sema patch

Mike Rice via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Nov 8 15:04:20 PST 2017


mikerice added inline comments.


================
Comment at: lib/Sema/SemaOpenMP.cpp:1197
+              Context, OMPDeclareTargetDeclAttr::MT_To);
+          D->addAttr(A);
+
----------------
When D already has an OMPDeclareTargetAttr this seems to add another.


Repository:
  rL LLVM

https://reviews.llvm.org/D38798





More information about the cfe-commits mailing list