Home
last modified time | relevance | path

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

/external/clang/tools/libclang/
DCXComment.cpp45 enum CXCommentKind clang_Comment_getKind(CXComment CXC) { in clang_Comment_getKind() argument
46 const Comment *C = getASTNode(CXC); in clang_Comment_getKind()
93 unsigned clang_Comment_getNumChildren(CXComment CXC) { in clang_Comment_getNumChildren() argument
94 const Comment *C = getASTNode(CXC); in clang_Comment_getNumChildren()
101 CXComment clang_Comment_getChild(CXComment CXC, unsigned ChildIdx) { in clang_Comment_getChild() argument
102 const Comment *C = getASTNode(CXC); in clang_Comment_getChild()
106 return createCXComment(*(C->child_begin() + ChildIdx), CXC.TranslationUnit); in clang_Comment_getChild()
109 unsigned clang_Comment_isWhitespace(CXComment CXC) { in clang_Comment_isWhitespace() argument
110 const Comment *C = getASTNode(CXC); in clang_Comment_isWhitespace()
123 unsigned clang_InlineContentComment_hasTrailingNewline(CXComment CXC) { in clang_InlineContentComment_hasTrailingNewline() argument
[all …]
DCXComment.h39 static inline const comments::Comment *getASTNode(CXComment CXC) { in getASTNode() argument
40 return static_cast<const comments::Comment *>(CXC.ASTNode); in getASTNode()
44 static inline const T *getASTNodeAs(CXComment CXC) { in getASTNodeAs() argument
45 const comments::Comment *C = getASTNode(CXC); in getASTNodeAs()
52 static inline ASTContext &getASTContext(CXComment CXC) { in getASTContext() argument
53 return cxtu::getASTUnit(CXC.TranslationUnit)->getASTContext(); in getASTContext()
56 static inline comments::CommandTraits &getCommandTraits(CXComment CXC) { in getCommandTraits() argument
57 return getASTContext(CXC).getCommentCommandTraits(); in getCommandTraits()