[PATCH] D92167: [OpenMP][NFC] Encapsulate some CGOpenMPRuntime static methods in a utility class

Saiyedul Islam via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Nov 26 03:24:12 PST 2020


saiislam created this revision.
saiislam added reviewers: JonChesterfield, ABataev.
Herald added subscribers: cfe-commits, guansong, yaxunl.
Herald added a project: clang.
saiislam requested review of this revision.
Herald added a reviewer: jdoerfert.
Herald added a subscriber: sstefan1.

addFieldToRecordDecl and createGlobalStruct methods had file static scope. They
are required by AMDGCN OpenMP CodeGen (D86097 <https://reviews.llvm.org/D86097>), thus put them in a utility class.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D92167

Files:
  clang/lib/CodeGen/CGOpenMPRuntime.cpp
  clang/lib/CodeGen/CGOpenMPRuntime.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D92167.307812.patch
Type: text/x-patch
Size: 10760 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201126/c3b95bea/attachment-0001.bin>


More information about the cfe-commits mailing list