diff options
Diffstat (limited to 'lib/AST/Comment.cpp')
-rw-r--r-- | lib/AST/Comment.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/AST/Comment.cpp b/lib/AST/Comment.cpp index ac224ccecd..e35b2a3d5e 100644 --- a/lib/AST/Comment.cpp +++ b/lib/AST/Comment.cpp @@ -145,6 +145,7 @@ void DeclInfo::fill() { IsTemplateDecl = false; IsTemplateSpecialization = false; IsTemplatePartialSpecialization = false; + IsObjCMethod = false; IsInstanceMethod = false; IsClassMethod = false; ParamVars = ArrayRef<const ParmVarDecl *>(); @@ -193,6 +194,7 @@ void DeclInfo::fill() { ParamVars = ArrayRef<const ParmVarDecl *>(MD->param_begin(), MD->param_size()); ResultType = MD->getResultType(); + IsObjCMethod = true; IsInstanceMethod = MD->isInstanceMethod(); IsClassMethod = !IsInstanceMethod; break; |