Skip to content

Commit c57c373

Browse files
doru1004ronlieb
authored andcommitted
[Clang][NFC]Remove leftover comments after merge.
Change-Id: I8b6ea681ee3dc705668b197788a705506a879655
1 parent a30a907 commit c57c373

File tree

1 file changed

+0
-21
lines changed

1 file changed

+0
-21
lines changed

clang/lib/CodeGen/CGOpenMPRuntime.cpp

Lines changed: 0 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -9534,28 +9534,7 @@ static void genMapInfoForCaptures(
95349534
uint32_t &CapturedCount,
95359535
MappableExprsHandler::MapCombinedInfoTy &CombinedInfo) {
95369536

9537-
// static void emitTargetCallKernelLaunch(
9538-
// CGOpenMPRuntime *OMPRuntime, llvm::Function *OutlinedFn,
9539-
// const OMPExecutableDirective &D,
9540-
// llvm::SmallVectorImpl<llvm::Value *> &CapturedVars, bool RequiresOuterTask,
9541-
// const CapturedStmt &CS, bool OffloadingMandatory,
9542-
// llvm::PointerIntPair<const Expr *, 2, OpenMPDeviceClauseModifier> Device,
9543-
// llvm::Value *OutlinedFnID, CodeGenFunction::OMPTargetDataInfo &InputInfo,
9544-
// llvm::Value *&MapTypesArray, llvm::Value *&MapNamesArray,
9545-
// llvm::function_ref<llvm::Value *(CodeGenFunction &CGF,
9546-
// const OMPLoopDirective &D)>
9547-
// SizeEmitter,
9548-
// CodeGenFunction &CGF, CodeGenModule &CGM) {
9549-
// llvm::OpenMPIRBuilder &OMPBuilder = OMPRuntime->getOMPBuilder();
9550-
9551-
// // Fill up the arrays with all the captured variables.
9552-
// MappableExprsHandler::MapCombinedInfoTy CombinedInfo;
9553-
9554-
// // Get mappable expression information.
9555-
// MappableExprsHandler MEHandler(D, CGF);
95569537
llvm::DenseMap<llvm::Value *, llvm::Value *> LambdaPointers;
9557-
// llvm::DenseSet<CanonicalDeclPtr<const Decl>> MappedVarSet;
9558-
95599538
auto RI = CS.getCapturedRecordDecl()->field_begin();
95609539
auto *CV = CapturedVars.begin();
95619540
CapturedCount = 0;

0 commit comments

Comments
 (0)