Lines Matching refs:PrevCommand
322 TParamCommandComment *&PrevCommand = TemplateParameterDocs[Arg]; in actOnTParamCommandParamNameArg() local
323 if (PrevCommand) { in actOnTParamCommandParamNameArg()
327 Diag(PrevCommand->getLocation(), diag::note_doc_tparam_previous) in actOnTParamCommandParamNameArg()
328 << PrevCommand->getParamNameRange(); in actOnTParamCommandParamNameArg()
330 PrevCommand = Command; in actOnTParamCommandParamNameArg()
627 const BlockCommandComment *PrevCommand = nullptr; in checkBlockCommandDuplicate() local
633 PrevCommand = BriefCommand; in checkBlockCommandDuplicate()
639 PrevCommand = HeaderfileCommand; in checkBlockCommandDuplicate()
645 StringRef PrevCommandName = PrevCommand->getCommandName(Traits); in checkBlockCommandDuplicate()
651 Diag(PrevCommand->getLocation(), diag::note_doc_block_command_previous) in checkBlockCommandDuplicate()
652 << PrevCommand->getCommandMarker() in checkBlockCommandDuplicate()
654 << PrevCommand->getSourceRange(); in checkBlockCommandDuplicate()
656 Diag(PrevCommand->getLocation(), in checkBlockCommandDuplicate()
658 << PrevCommand->getCommandMarker() in checkBlockCommandDuplicate()
753 ParamCommandComment *PrevCommand = ParamVarDocs[ResolvedParamIndex]; in resolveParamCommandIndexes() local
754 Diag(PrevCommand->getLocation(), diag::note_doc_param_previous) in resolveParamCommandIndexes()
755 << PrevCommand->getParamNameRange(); in resolveParamCommandIndexes()