Home
last modified time | relevance | path

Searched refs:TPCC (Results 1 – 3 of 3) sorted by relevance

/external/clang/tools/libclang/
DCXComment.cpp313 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_getParamName() local
314 if (!TPCC || !TPCC->hasParamName()) in clang_TParamCommandComment_getParamName()
317 return cxstring::createRef(TPCC->getParamNameAsWritten()); in clang_TParamCommandComment_getParamName()
321 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_isParamPositionValid() local
322 if (!TPCC) in clang_TParamCommandComment_isParamPositionValid()
325 return TPCC->isPositionValid(); in clang_TParamCommandComment_isParamPositionValid()
329 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_getDepth() local
330 if (!TPCC || !TPCC->isPositionValid()) in clang_TParamCommandComment_getDepth()
333 return TPCC->getDepth(); in clang_TParamCommandComment_getDepth()
337 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_getIndex() local
[all …]
/external/clang/unittests/AST/
DCommentParser.cpp233 TParamCommandComment *&TPCC, in HasTParamCommandAt() argument
237 ::testing::AssertionResult AR = GetChildAt(C, Idx, TPCC); in HasTParamCommandAt()
241 StringRef ActualCommandName = TPCC->getCommandName(Traits); in HasTParamCommandAt()
247 if (!ParamName.empty() && !TPCC->hasParamName()) in HasTParamCommandAt()
251 StringRef ActualParamName = TPCC->hasParamName() ? TPCC->getParamNameAsWritten() : ""; in HasTParamCommandAt()
258 Paragraph = TPCC->getParagraph(); in HasTParamCommandAt()
958 TParamCommandComment *TPCC; in TEST_F() local
960 ASSERT_TRUE(HasTParamCommandAt(FC, Traits, 1, TPCC, "tparam", in TEST_F()
962 ASSERT_TRUE(HasChildCount(TPCC, 1)); in TEST_F()
963 ASSERT_TRUE(HasParagraphCommentAt(TPCC, 0, " Bbb")); in TEST_F()
[all …]
/external/clang/lib/Index/
DCommentToXML.cpp156 const TParamCommandComment *TPCC = cast<TParamCommandComment>(Child); in FullCommentParts() local
157 if (!TPCC->hasParamName()) in FullCommentParts()
160 if (!TPCC->hasNonWhitespaceParagraph()) in FullCommentParts()
163 TParams.push_back(TPCC); in FullCommentParts()