Home
last modified time | relevance | path

Searched refs:CXC (Results 1 – 2 of 2) sorted by relevance

/openbsd/src/gnu/llvm/clang/tools/libclang/
DCXComment.cpp41 enum CXCommentKind clang_Comment_getKind(CXComment CXC) { in clang_Comment_getKind() argument
42 const Comment *C = getASTNode(CXC); in clang_Comment_getKind()
89 unsigned clang_Comment_getNumChildren(CXComment CXC) { in clang_Comment_getNumChildren() argument
90 const Comment *C = getASTNode(CXC); in clang_Comment_getNumChildren()
97 CXComment clang_Comment_getChild(CXComment CXC, unsigned ChildIdx) { in clang_Comment_getChild() argument
98 const Comment *C = getASTNode(CXC); in clang_Comment_getChild()
102 return createCXComment(*(C->child_begin() + ChildIdx), CXC.TranslationUnit); in clang_Comment_getChild()
105 unsigned clang_Comment_isWhitespace(CXComment CXC) { in clang_Comment_isWhitespace() argument
106 const Comment *C = getASTNode(CXC); in clang_Comment_isWhitespace()
119 unsigned clang_InlineContentComment_hasTrailingNewline(CXComment CXC) { in clang_InlineContentComment_hasTrailingNewline() argument
[all …]
DCXComment.h38 static inline const comments::Comment *getASTNode(CXComment CXC) { in getASTNode() argument
39 return static_cast<const comments::Comment *>(CXC.ASTNode); in getASTNode()
43 static inline const T *getASTNodeAs(CXComment CXC) { in getASTNodeAs() argument
44 const comments::Comment *C = getASTNode(CXC); in getASTNodeAs()
51 static inline ASTContext &getASTContext(CXComment CXC) { in getASTContext() argument
52 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext()
55 static inline comments::CommandTraits &getCommandTraits(CXComment CXC) { in getCommandTraits() argument
56 return getASTContext(CXC).getCommentCommandTraits(); in getCommandTraits()