diff options
author | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2025-05-02 09:29:08 +0300 |
---|---|---|
committer | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2025-05-02 09:29:35 +0300 |
commit | 048befe9ef7edab3580a922d69664b21e2a532fa (patch) | |
tree | 77501f82ce679cf85672d0c23e732470134e4ff9 /clang/lib/Sema/SemaOpenMP.cpp | |
parent | be6497ff7583248d76a6710dd48cfeb63dd68f27 (diff) | |
download | llvm-048befe9ef7edab3580a922d69664b21e2a532fa.zip llvm-048befe9ef7edab3580a922d69664b21e2a532fa.tar.gz llvm-048befe9ef7edab3580a922d69664b21e2a532fa.tar.bz2 |
Revert "[clang][NFC] Convert `Sema::TryCaptureKind` to scoped enum"
This reverts commit be6497ff7583248d76a6710dd48cfeb63dd68f27.
Diffstat (limited to 'clang/lib/Sema/SemaOpenMP.cpp')
-rw-r--r-- | clang/lib/Sema/SemaOpenMP.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Sema/SemaOpenMP.cpp b/clang/lib/Sema/SemaOpenMP.cpp index 998f55a..274d3b90 100644 --- a/clang/lib/Sema/SemaOpenMP.cpp +++ b/clang/lib/Sema/SemaOpenMP.cpp @@ -5546,7 +5546,7 @@ static CapturedStmt *buildLoopVarFunc(Sema &Actions, QualType LoopVarTy, // it in every iteration, capture it by value before it is modified. VarDecl *StartVar = cast<VarDecl>(StartExpr->getDecl()); bool Invalid = Actions.tryCaptureVariable(StartVar, {}, - TryCaptureKind::ExplicitByVal, {}); + Sema::TryCapture_ExplicitByVal, {}); (void)Invalid; assert(!Invalid && "Expecting capture-by-value to work."); |