File tree Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Expand file tree Collapse file tree 1 file changed +4
-4
lines changed Original file line number Diff line number Diff line change @@ -4219,14 +4219,14 @@ namespace {
42194219 for (auto param : attr->params ()) {
42204220 // FIXME: Swift assumes no escaping to globals. We should diagnose
42214221 // this.
4222- if (param == clang::LifetimeCaptureByAttr::GLOBAL ||
4223- param == clang::LifetimeCaptureByAttr::UNKNOWN ||
4224- param == clang::LifetimeCaptureByAttr::INVALID )
4222+ if (param == clang::LifetimeCaptureByAttr::Global ||
4223+ param == clang::LifetimeCaptureByAttr::Unknown ||
4224+ param == clang::LifetimeCaptureByAttr::Invalid )
42254225 continue ;
42264226
42274227 paramHasAnnotation[idx] = true ;
42284228 if (isa<clang::CXXMethodDecl>(decl) &&
4229- param == clang::LifetimeCaptureByAttr::THIS ) {
4229+ param == clang::LifetimeCaptureByAttr::This ) {
42304230 auto [it, inserted] = inheritedArgDependences.try_emplace (
42314231 result->getSelfIndex (), SmallBitVector (dependencyVecSize));
42324232 it->second [idx] = true ;
You can’t perform that action at this time.
0 commit comments