Lines Matching refs:ParamCommandComment
80 ParamCommandComment *Sema::actOnParamCommandStart( in actOnParamCommandStart()
85 ParamCommandComment *Command = in actOnParamCommandStart()
86 new (Allocator) ParamCommandComment(LocBegin, LocEnd, CommandID, in actOnParamCommandStart()
222 .Case("[in]", ParamCommandComment::In) in getParamPassDirection()
223 .Case("[out]", ParamCommandComment::Out) in getParamPassDirection()
224 .Cases("[in,out]", "[out,in]", ParamCommandComment::InOut) in getParamPassDirection()
228 void Sema::actOnParamCommandDirectionArg(ParamCommandComment *Command, in actOnParamCommandDirectionArg()
244 const char *FixedName = ParamCommandComment::getDirectionAsString( in actOnParamCommandDirectionArg()
245 (ParamCommandComment::PassDirection)Direction); in actOnParamCommandDirectionArg()
250 Direction = ParamCommandComment::In; // Sane fall back. in actOnParamCommandDirectionArg()
253 Command->setDirection((ParamCommandComment::PassDirection)Direction, in actOnParamCommandDirectionArg()
257 void Sema::actOnParamCommandParamNameArg(ParamCommandComment *Command, in actOnParamCommandParamNameArg()
266 Command->setDirection(ParamCommandComment::In, /* Explicit = */ false); in actOnParamCommandParamNameArg()
275 void Sema::actOnParamCommandFinish(ParamCommandComment *Command, in actOnParamCommandFinish()
720 SmallVector<ParamCommandComment *, 8> UnresolvedParamCommands; in resolveParamCommandIndexes()
724 SmallVector<ParamCommandComment *, 8> ParamVarDocs; in resolveParamCommandIndexes()
732 ParamCommandComment *PCC = dyn_cast<ParamCommandComment>(*I); in resolveParamCommandIndexes()
740 if (ResolvedParamIndex == ParamCommandComment::VarArgParamIndex) { in resolveParamCommandIndexes()
744 if (ResolvedParamIndex == ParamCommandComment::InvalidParamIndex) { in resolveParamCommandIndexes()
753 ParamCommandComment *PrevCommand = ParamVarDocs[ResolvedParamIndex]; in resolveParamCommandIndexes()
771 const ParamCommandComment *PCC = UnresolvedParamCommands[i]; in resolveParamCommandIndexes()
782 unsigned CorrectedParamIndex = ParamCommandComment::InvalidParamIndex; in resolveParamCommandIndexes()
792 if (CorrectedParamIndex != ParamCommandComment::InvalidParamIndex) { in resolveParamCommandIndexes()
949 return ParamCommandComment::VarArgParamIndex; in resolveParmVarReference()
950 return ParamCommandComment::InvalidParamIndex; in resolveParmVarReference()
1016 return ParamCommandComment::InvalidParamIndex; in correctTypoInParmVarReference()