| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Summary:
Add indexing of UsingDecl itself.
Also enable generation of USRs for UsingDecls, using the qualified name of the
decl.
Reviewers: ilya-biryukov, akyrtzi
Subscribers: arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D58340
llvm-svn: 354878
|
|
|
|
|
|
| |
rdar://25339187
llvm-svn: 301635
|
|
|
|
| |
llvm-svn: 223649
|
|
|
|
| |
llvm-svn: 223634
|
|
|
|
|
|
| |
Otherwise the USR will conflict with different embedded tag decls.
llvm-svn: 223633
|
|
|
|
|
|
|
|
| |
'class' and 'struct' can be used interchangebly for forward references.
Use the same encoding otherwise we may get into a weird situation where the USR for the same
declaration is different based on whether the definition of the tag reference is visible or not.
llvm-svn: 223632
|
|
|
|
|
|
| |
can overload a 'char' in C++, by giving them distinct encodings.
llvm-svn: 223629
|
|
|
|
|
|
|
|
| |
the return type in the USR
and handle DependentNameType in order to be able to distinguish them.
llvm-svn: 223628
|
|
|
|
|
|
|
|
|
| |
- Only include offsets with local (in function scope) symbols, where we don't encode scoping
- Only include the filename with non-system symbols. Presumably the system headers will not provide conflicting definitions.
rdar://15976823
llvm-svn: 201990
|
|
|
|
|
|
|
|
|
| |
their USR should contain a location.
This uniques them from other declarations with the same name but in different translation units.
rdar://10546541
llvm-svn: 169647
|
|
|
|
| |
llvm-svn: 130748
|
|
|
|
| |
llvm-svn: 127535
|
|
|
|
| |
llvm-svn: 127242
|
|
|
|
| |
llvm-svn: 127225
|
|
|
|
| |
llvm-svn: 127119
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 112716
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
|
|
|
|
|
|
|
| |
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
|
|
|
|
| |
llvm-svn: 109096
|
|
|
|
|
|
|
|
| |
whether a method
is static, and mangling in the qualifers of the method.
llvm-svn: 103289
|
|
|
|
| |
llvm-svn: 103225
|
|
|
|
| |
llvm-svn: 103223
|
|
information in USRs
for anonymous symbols.
llvm-svn: 103212
|