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

George Rokos via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Oct 11 07:13:02 PDT 2017


grokos created this revision.
grokos added a project: clang.

This patch completes the support for the "declare target" directive in Sema. With this patch Sema handles implicitly used functions (i.e. functions which are used inside a target region without having been "declared target") including lambdas, templated functions, functions called from within target functions and ctors/dtors.

By default, use of implicit declare target functions is enabled. An upcoming driver patch will change that.


Repository:
  rL LLVM

https://reviews.llvm.org/D38798

Files:
  include/clang/Basic/LangOptions.def
  include/clang/Sema/Sema.h
  include/clang/Sema/SemaInternal.h
  lib/Parse/ParseOpenMP.cpp
  lib/Sema/SemaDecl.cpp
  lib/Sema/SemaOpenMP.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D38798.118543.patch
Type: text/x-patch
Size: 15458 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20171011/a9613b9d/attachment-0001.bin>


More information about the cfe-commits mailing list