//===- CIndexCXX.cpp - Clang-C Source Indexing Library --------------------===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file implements the libclang support for C++ cursors. // //===----------------------------------------------------------------------===// #include "CIndexer.h" #include "CXCursor.h" #include "CXType.h" #include "clang/AST/DeclCXX.h" #include "clang/AST/DeclTemplate.h" usingnamespaceclang; usingnamespaceclang::cxcursor; unsigned clang_isVirtualBase(CXCursor C) { … } enum CX_CXXAccessSpecifier clang_getCXXAccessSpecifier(CXCursor C) { … } enum CXCursorKind clang_getTemplateCursorKind(CXCursor C) { … } CXCursor clang_getSpecializedCursorTemplate(CXCursor C) { … }