Home
last modified time | relevance | path

Searched refs:TPCC (Results 1 – 6 of 6) 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/llvm-project/clang/tools/libclang/
DCXComment.cpp312 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_getParamName() local
313 if (!TPCC || !TPCC->hasParamName()) in clang_TParamCommandComment_getParamName()
316 return cxstring::createRef(TPCC->getParamNameAsWritten()); in clang_TParamCommandComment_getParamName()
320 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_isParamPositionValid() local
321 if (!TPCC) in clang_TParamCommandComment_isParamPositionValid()
324 return TPCC->isPositionValid(); in clang_TParamCommandComment_isParamPositionValid()
328 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_getDepth() local
329 if (!TPCC || !TPCC->isPositionValid()) in clang_TParamCommandComment_getDepth()
332 return TPCC->getDepth(); in clang_TParamCommandComment_getDepth()
336 const TParamCommandComment *TPCC = getASTNodeAs<TParamCommandComment>(CXC); in clang_TParamCommandComment_getIndex() local
[all …]
/external/llvm-project/clang/unittests/AST/
DCommentParser.cpp231 TParamCommandComment *&TPCC, in HasTParamCommandAt() argument
235 ::testing::AssertionResult AR = GetChildAt(C, Idx, TPCC); in HasTParamCommandAt()
239 StringRef ActualCommandName = TPCC->getCommandName(Traits); in HasTParamCommandAt()
245 if (!ParamName.empty() && !TPCC->hasParamName()) in HasTParamCommandAt()
249 StringRef ActualParamName = TPCC->hasParamName() ? TPCC->getParamNameAsWritten() : ""; in HasTParamCommandAt()
256 Paragraph = TPCC->getParagraph(); in HasTParamCommandAt()
956 TParamCommandComment *TPCC; in TEST_F() local
958 ASSERT_TRUE(HasTParamCommandAt(FC, Traits, 1, TPCC, "tparam", in TEST_F()
960 ASSERT_TRUE(HasChildCount(TPCC, 1)); in TEST_F()
961 ASSERT_TRUE(HasParagraphCommentAt(TPCC, 0, " Bbb")); in TEST_F()
[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/llvm-project/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()
/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()