Lines Matching refs:DeclLoc
176 const SourceLocation DeclLoc = D->getLocation(); in getDeclLocForCommentSearch() local
177 if (DeclLoc.isMacroID()) { in getDeclLocForCommentSearch()
189 if (SourceMgr.isMacroArgExpansion(DeclLoc) && in getDeclLocForCommentSearch()
191 return SourceMgr.getExpansionLoc(DeclLoc); in getDeclLocForCommentSearch()
194 return DeclLoc; in getDeclLocForCommentSearch()
279 const SourceLocation DeclLoc = getDeclLocForCommentSearch(D, SourceMgr); in getRawCommentForDeclNoCache() local
283 if (DeclLoc.isInvalid() || !DeclLoc.isFileID()) in getRawCommentForDeclNoCache()
294 const FileID File = SourceMgr.getDecomposedLoc(DeclLoc).first; in getRawCommentForDeclNoCache()
299 return getRawCommentForDeclNoCacheImpl(D, DeclLoc, *CommentsInThisFile); in getRawCommentForDeclNoCache()
514 const SourceLocation DeclLoc = getDeclLocForCommentSearch(D, SourceMgr); in attachCommentsToJustParsedDecls() local
516 if (DeclLoc.isInvalid() || !DeclLoc.isFileID()) in attachCommentsToJustParsedDecls()
523 getRawCommentForDeclNoCacheImpl(D, DeclLoc, *CommentsInThisFile)) { in attachCommentsToJustParsedDecls()