Searched refs:TPCC (Results 1 – 2 of 2) sorted by relevance
/external/clang/tools/libclang/ |
D | CXComment.cpp | 305 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_getParamName() local 306 if (!TPCC || !TPCC->hasParamName()) in clang_TParamCommandComment_getParamName() 309 return cxstring::createRef(TPCC->getParamNameAsWritten()); in clang_TParamCommandComment_getParamName() 313 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_isParamPositionValid() local 314 if (!TPCC) in clang_TParamCommandComment_isParamPositionValid() 317 return TPCC->isPositionValid(); in clang_TParamCommandComment_isParamPositionValid() 321 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_getDepth() local 322 if (!TPCC || !TPCC->isPositionValid()) in clang_TParamCommandComment_getDepth() 325 return TPCC->getDepth(); in clang_TParamCommandComment_getDepth() 329 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_getIndex() local [all …]
|
/external/clang/unittests/AST/ |
D | CommentParser.cpp | 233 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() 933 TParamCommandComment *TPCC; in TEST_F() local 935 ASSERT_TRUE(HasTParamCommandAt(FC, Traits, 1, TPCC, "tparam", in TEST_F() 937 ASSERT_TRUE(HasChildCount(TPCC, 1)); in TEST_F() 938 ASSERT_TRUE(HasParagraphCommentAt(TPCC, 0, " Bbb")); in TEST_F() [all …]
|