aboutsummaryrefslogtreecommitdiff
path: root/lib/ARCMigrate/TransGCAttrs.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lib/ARCMigrate/TransGCAttrs.cpp')
-rw-r--r--lib/ARCMigrate/TransGCAttrs.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/ARCMigrate/TransGCAttrs.cpp b/lib/ARCMigrate/TransGCAttrs.cpp
index b0dadc2e2e..9f6066ef77 100644
--- a/lib/ARCMigrate/TransGCAttrs.cpp
+++ b/lib/ARCMigrate/TransGCAttrs.cpp
@@ -97,7 +97,7 @@ public:
bool Invalid = false;
StringRef Spell = Lexer::getSpelling(
SM.getSpellingLoc(TL.getAttrEnumOperandLoc()),
- Buf, SM, Ctx.getLangOptions(), &Invalid);
+ Buf, SM, Ctx.getLangOpts(), &Invalid);
if (Invalid)
return false;
MigrationContext::GCAttrOccurrence::AttrKind Kind;