• Home
  • Raw
  • Download

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()
718 SmallVector<ParamCommandComment *, 8> UnresolvedParamCommands; in resolveParamCommandIndexes()
722 SmallVector<ParamCommandComment *, 8> ParamVarDocs; in resolveParamCommandIndexes()
730 ParamCommandComment *PCC = dyn_cast<ParamCommandComment>(*I); in resolveParamCommandIndexes()
738 if (ResolvedParamIndex == ParamCommandComment::VarArgParamIndex) { in resolveParamCommandIndexes()
742 if (ResolvedParamIndex == ParamCommandComment::InvalidParamIndex) { in resolveParamCommandIndexes()
751 ParamCommandComment *PrevCommand = ParamVarDocs[ResolvedParamIndex]; in resolveParamCommandIndexes()
769 const ParamCommandComment *PCC = UnresolvedParamCommands[i]; in resolveParamCommandIndexes()
780 unsigned CorrectedParamIndex = ParamCommandComment::InvalidParamIndex; in resolveParamCommandIndexes()
790 if (CorrectedParamIndex != ParamCommandComment::InvalidParamIndex) { in resolveParamCommandIndexes()
947 return ParamCommandComment::VarArgParamIndex; in resolveParmVarReference()
948 return ParamCommandComment::InvalidParamIndex; in resolveParmVarReference()
1014 return ParamCommandComment::InvalidParamIndex; in correctTypoInParmVarReference()