summaryrefslogtreecommitdiffstats
path: root/clang/test/Index/load-classes.cpp
Commit message (Collapse)AuthorAgeFilesLines
* [libclang] Add support for checking abstractness of recordsAlex Lorenz2017-12-141-1/+1
| | | | | | | | | | | This patch allows checking whether a C++ record declaration is abstract through libclang and clang.cindex (Python). Patch by Johann Klähn! Differential Revision: https://reviews.llvm.org/D36952 llvm-svn: 320748
* [index] Expose FriendDeclOlivier Goffart2016-11-041-5/+17
| | | | | | Differential Revision: https://reviews.llvm.org/D26285 llvm-svn: 285984
* Expose cxx constructor and method properties through libclang and python ↵Jonathan Coe2016-04-271-3/+3
| | | | | | | | | | | | | | | | | | | | | | | bindings. Summary: I have exposed the following function through libclang and the clang.cindex python bindings: clang_CXXConstructor_isConvertingConstructor, clang_CXXConstructor_isCopyConstructor, clang_CXXConstructor_isDefaultConstructor, clang_CXXConstructor_isMoveConstructor, clang_CXXMethod_isDefaulted I need (some of) these methods for a C++ code model I am building in Python to drive a code generator. Reviewers: compnerd, skalinichev Subscribers: cfe-commits Differential Revision: http://reviews.llvm.org/D15469 llvm-svn: 267706
* libclang: add clang_CXXMethod_isConst API that allows to determine if a C++Dmitri Gribenko2014-04-071-4/+26
| | | | | | | | member function or member function template is declared 'const' Patch by Kevin Funk with testcase updates by me. llvm-svn: 205714
* When formatting a C++-only declaration name, enable C++ mode in the formatter'sRichard Smith2014-01-221-1/+1
| | | | | | | | | language options. This is not really ideal -- we should require the right language options to be passed in, or not require language options to format a name -- but it fixes a number of *obviously* wrong formattings. Patch by Olivier Goffart! llvm-svn: 199778
* [libclang] Have clang_getCXXAccessSpecifier() also return the access control ↵Argyrios Kyrtzidis2013-04-111-9/+11
| | | | | | | | of a C++ declaration within its parent scope. Suggested by Stefan Seefeld. llvm-svn: 179297
* Fixed source range for all DeclaratorDecl's.Abramo Bagnara2011-03-081-2/+2
| | | | llvm-svn: 127225
* Implement basic visitation for nested name specifiers via libclangDouglas Gregor2010-09-021-0/+6
| | | | | | | | cursors. Sadly, this visitation is a hack, because we don't have proper source-location information for nested-name-specifiers in the AST. It does improve on the status quo, however. llvm-svn: 112837
* libclang indexing support for C++ constructors, destructors, andDouglas Gregor2010-08-311-0/+22
conversion functions. This introduces new cursor kinds for these three C++ entities, and reworks visitation of function declarations so that we get type-source information for the names. llvm-svn: 112600
OpenPOWER on IntegriCloud