History log of /llvm-project/clang/tools/libclang/CXCursor.cpp (Results 301 – 322 of 322)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-2.8.0-rc1, llvmorg-2.8.0-rc0
# 09c0eb15 03-Sep-2010 Douglas Gregor <dgregor@apple.com>

Synchronize code-completion cursor kinds with indexing cursor
kinds. How shameful that this code was duplicated!

llvm-svn: 113033


# 6429f5cf 02-Sep-2010 Douglas Gregor <dgregor@apple.com>

Eliminate CXXBindReferenceExpr, which was used in a ton of
well-intentioned but completely unused code.

llvm-svn: 112868


# a9aa29cf 01-Sep-2010 Douglas Gregor <dgregor@apple.com>

Implement libclang support for using declarations. Clang actually uses
three different kinds of AST nodes to represent using declarations:
UsingDecl, UnresolvedUsingValueDecl, and
UnresolvedUsingType

Implement libclang support for using declarations. Clang actually uses
three different kinds of AST nodes to represent using declarations:
UsingDecl, UnresolvedUsingValueDecl, and
UnresolvedUsingTypenameDecl. These three are collapsed into a single
cursor kind for using declarations, since libclang clients don't need
the distinction.

Several related changes here:
- Cursor visitation of the three AST nodes for using declarations
- Proper source-range computation for these AST nodes
- Using declarations have no USRs, since they don't actually declare
any entities.

llvm-svn: 112730

show more ...


# 01a43013 01-Sep-2010 Douglas Gregor <dgregor@apple.com>

Implement libclang support for using directives (cursor + visitation +
suppressing USRs). Also, fix up the source location information for
using directives so that the declaration location refers to

Implement libclang support for using directives (cursor + visitation +
suppressing USRs). Also, fix up the source location information for
using directives so that the declaration location refers to the
namespace name.

llvm-svn: 112693

show more ...


# a89314e3 31-Aug-2010 Douglas Gregor <dgregor@apple.com>

Add libclang support for namespace aliases (visitation + USRs) along
with a new cursor kind for a reference to a namespace.

There's still some oddities in the source location information for
Namesp

Add libclang support for namespace aliases (visitation + USRs) along
with a new cursor kind for a reference to a namespace.

There's still some oddities in the source location information for
NamespaceAliasDecl that I'll address with a separate commit, so the
source locations displayed in the load-namespaces.cpp test will
change.

llvm-svn: 112676

show more ...


# a23e8f7a 31-Aug-2010 Douglas Gregor <dgregor@apple.com>

Extend libclang with a new cursor kind that indicates a reference to a
template. Such cursors occur, for example, in template specialization
types such as vector<int>. Note that we do not handle the

Extend libclang with a new cursor kind that indicates a reference to a
template. Such cursors occur, for example, in template specialization
types such as vector<int>. Note that we do not handle the
super-interesting case where the template name is unresolved, e.g.,
within a template.

llvm-svn: 112636

show more ...


# f96abb29 31-Aug-2010 Douglas Gregor <dgregor@apple.com>

Add libclang support for class template partial specializations,
including a cursor kind, visitation, and USRs.

llvm-svn: 112629


# 1fbaeb19 31-Aug-2010 Douglas Gregor <dgregor@apple.com>

Add a libclang cursor kind, visitation support and USR support for C++
class templates.

llvm-svn: 112627


# 713602bb 31-Aug-2010 Douglas Gregor <dgregor@apple.com>

Implement basic support for indexing function templates in
libclang. This includes:
- Cursor kind for function templates, with visitation logic
- Cursor kinds for template parameters, with visita

Implement basic support for indexing function templates in
libclang. This includes:
- Cursor kind for function templates, with visitation logic
- Cursor kinds for template parameters, with visitation logic
- Visitation logic for template specialization types, qualified type
locations
- USR generation for function templates, template specialization
types, template parameter types.

Also happens to fix PR7804, which I tripped across while testing.

llvm-svn: 112604

show more ...


# 12bca22e 31-Aug-2010 Douglas Gregor <dgregor@apple.com>

libclang indexing support for C++ constructors, destructors, and
conversion functions. This introduces new cursor kinds for these three
C++ entities, and reworks visitation of function declarations s

libclang indexing support for C++ constructors, destructors, and
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

show more ...


# 3b791862 30-Aug-2010 Alexis Hunt <alercah@gmail.com>

Revert my user-defined literal commits - r1124{58,60,67} pending
some issues being sorted out.

llvm-svn: 112493


# 79eb5469 29-Aug-2010 Alexis Hunt <alercah@gmail.com>

Implement C++0x user-defined string literals.

The extra data stored on user-defined literal Tokens is stored in extra
allocated memory, which is managed by the PreprocessorLexer because there isn't

Implement C++0x user-defined string literals.

The extra data stored on user-defined literal Tokens is stored in extra
allocated memory, which is managed by the PreprocessorLexer because there isn't
a better place to put it that makes sure it gets deallocated, but only after
it's used up. My testing has shown no significant slowdown as a result, but
independent testing would be appreciated.

llvm-svn: 112458

show more ...


# ae9e2215 27-Aug-2010 Ted Kremenek <kremenek@apple.com>

Implement CXCursor support for walking C++ base specifiers. This includes adding the API hooks clang_isVirtualBase() and clang_getCXXAccessSpecifier() to query properties of the base specifier.

Imp

Implement CXCursor support for walking C++ base specifiers. This includes adding the API hooks clang_isVirtualBase() and clang_getCXXAccessSpecifier() to query properties of the base specifier.

Implements <rdar://problem/8274883>.

llvm-svn: 112296

show more ...


# a5940822 26-Aug-2010 Ted Kremenek <kremenek@apple.com>

Add libclang API hook "clang_getIBOutletCollectionType" to query the collection type for iboutletcollection attributes.

llvm-svn: 112139


# 747eb784 08-Jul-2010 Douglas Gregor <dgregor@apple.com>

Reinstate the fix for PR7556. A silly use of isTrivial() was
suppressing copies of objects with trivial copy constructors.

llvm-svn: 107857


# e182370e 07-Jul-2010 Douglas Gregor <dgregor@apple.com>

Revert r107828 and r107827, the fix for PR7556, which seems to be
breaking bootstrap on Linux.

llvm-svn: 107837


# 6df2b8c3 07-Jul-2010 Douglas Gregor <dgregor@apple.com>

Rename CXXZeroInitValueExpr to CXXScalarValueInitExpr, to reflect its
newly-narrowed scope. No functionality change.

llvm-svn: 107828


# 344393e9 16-Jun-2010 Alexis Hunt <alercah@gmail.com>

Implement first TD-based usage of attributes.

Currently, there are two effective changes:

- Attr::Kind has been changed to attr::Kind, in a separate namespace
rather than the Attr class. This i

Implement first TD-based usage of attributes.

Currently, there are two effective changes:

- Attr::Kind has been changed to attr::Kind, in a separate namespace
rather than the Attr class. This is because the enumerator needs to
be visible to parse.
- The class definitions for the C++0x attributes other than aligned are
generated by TableGen.

The specific classes generated by TableGen are controlled by an array in
TableGen (see the accompanying commit to the LLVM repository). I will be
expanding the amount of code generated as I develop the new attributes system
while initially keeping it confined to these attributes.

llvm-svn: 106172

show more ...


# 26bde774 19-May-2010 Ted Kremenek <kremenek@apple.com>

Add clang support for IBOutletCollection.

llvm-svn: 104135


# 6150c884 11-May-2010 Abramo Bagnara <abramo.bagnara@gmail.com>

Merged Elaborated and QualifiedName types.

llvm-svn: 103517


# bd67fb20 06-May-2010 Ted Kremenek <kremenek@apple.com>

Add CXCursor support for C++ namespaces.

llvm-svn: 103211


# d5a2a073 30-Apr-2010 Daniel Dunbar <daniel@zuster.org>

Rename 'CIndex' to 'libclang', since it has basically become our stable public
(C) API, and will likely grow further in this direction in the future.

llvm-svn: 102779


1...<<111213