Home
last modified time | relevance | path

Searched refs:PCC (Results 1 – 6 of 6) sorted by relevance

/external/clang/tools/libclang/
DCXComment.cpp262 const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC); in clang_ParamCommandComment_getParamName() local
263 if (!PCC || !PCC->hasParamName()) in clang_ParamCommandComment_getParamName()
266 return cxstring::createRef(PCC->getParamNameAsWritten()); in clang_ParamCommandComment_getParamName()
270 const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC); in clang_ParamCommandComment_isParamIndexValid() local
271 if (!PCC) in clang_ParamCommandComment_isParamIndexValid()
274 return PCC->isParamIndexValid(); in clang_ParamCommandComment_isParamIndexValid()
278 const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC); in clang_ParamCommandComment_getParamIndex() local
279 if (!PCC || !PCC->isParamIndexValid() || PCC->isVarArgParam()) in clang_ParamCommandComment_getParamIndex()
282 return PCC->getParamIndex(); in clang_ParamCommandComment_getParamIndex()
286 const ParamCommandComment *PCC = getASTNodeAs<ParamCommandComment>(CXC); in clang_ParamCommandComment_isDirectionExplicit() local
[all …]
/external/clang/unittests/AST/
DCommentParser.cpp185 ParamCommandComment *&PCC, in HasParamCommandAt() argument
191 ::testing::AssertionResult AR = GetChildAt(C, Idx, PCC); in HasParamCommandAt()
195 StringRef ActualCommandName = PCC->getCommandName(Traits); in HasParamCommandAt()
201 if (PCC->getDirection() != Direction) in HasParamCommandAt()
203 << "ParamCommandComment has direction " << PCC->getDirection() << ", " in HasParamCommandAt()
206 if (PCC->isDirectionExplicit() != IsDirectionExplicit) in HasParamCommandAt()
209 << (PCC->isDirectionExplicit() ? "explicit" : "implicit") in HasParamCommandAt()
213 if (!ParamName.empty() && !PCC->hasParamName()) in HasParamCommandAt()
217 StringRef ActualParamName = PCC->hasParamName() ? PCC->getParamNameAsWritten() : ""; in HasParamCommandAt()
224 Paragraph = PCC->getParagraph(); in HasParamCommandAt()
[all …]
/external/clang/lib/AST/
DCommentSema.cpp732 ParamCommandComment *PCC = dyn_cast<ParamCommandComment>(*I); in resolveParamCommandIndexes() local
733 if (!PCC || !PCC->hasParamName()) in resolveParamCommandIndexes()
735 StringRef ParamName = PCC->getParamNameAsWritten(); in resolveParamCommandIndexes()
741 PCC->setIsVarArgParam(); in resolveParamCommandIndexes()
745 UnresolvedParamCommands.push_back(PCC); in resolveParamCommandIndexes()
748 PCC->setParamIndex(ResolvedParamIndex); in resolveParamCommandIndexes()
750 SourceRange ArgRange = PCC->getParamNameRange(); in resolveParamCommandIndexes()
757 ParamVarDocs[ResolvedParamIndex] = PCC; in resolveParamCommandIndexes()
771 const ParamCommandComment *PCC = UnresolvedParamCommands[i]; in resolveParamCommandIndexes() local
773 SourceRange ArgRange = PCC->getParamNameRange(); in resolveParamCommandIndexes()
[all …]
/external/clang/lib/Index/
DCommentToXML.cpp144 const ParamCommandComment *PCC = cast<ParamCommandComment>(Child); in FullCommentParts() local
145 if (!PCC->hasParamName()) in FullCommentParts()
148 if (!PCC->isDirectionExplicit() && !PCC->hasNonWhitespaceParagraph()) in FullCommentParts()
151 Params.push_back(PCC); in FullCommentParts()
/external/llvm/lib/Target/PowerPC/
DPPCISelDAGToDAG.cpp2813 unsigned PCC = getPredicateForSetCC(CC); in Select() local
2818 switch (PCC) { in Select()
2836 SDValue Ops[] = { getI32Imm(PCC), CondCode, in Select()
/external/clang/lib/Sema/
DSemaCodeComplete.cpp3078 Sema::ParserCompletionContext PCC) { in mapCodeCompletionContext() argument
3079 switch (PCC) { in mapCodeCompletionContext()