diff options
Diffstat (limited to 'lib/Index/Analyzer.cpp')
-rw-r--r-- | lib/Index/Analyzer.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/Index/Analyzer.cpp b/lib/Index/Analyzer.cpp index fb3529d540..7b414f2a9f 100644 --- a/lib/Index/Analyzer.cpp +++ b/lib/Index/Analyzer.cpp @@ -177,7 +177,7 @@ public: if (IsInstanceMethod) return false; - MsgD = Msg->getClassInfo().first; + MsgD = Msg->getClassInfo().Decl; // FIXME: Case when we only have an identifier. assert(MsgD && "Identifier only"); } @@ -250,7 +250,7 @@ public: while (true) { if (Msg->getReceiver() == 0) { CanBeClassMethod = true; - MsgD = Msg->getClassInfo().first; + MsgD = Msg->getClassInfo().Decl; // FIXME: Case when we only have an identifier. assert(MsgD && "Identifier only"); break; |