|
Revision tags: llvmorg-20.1.0, llvmorg-20.1.0-rc3, llvmorg-20.1.0-rc2, llvmorg-20.1.0-rc1, llvmorg-21-init, llvmorg-19.1.7, llvmorg-19.1.6, llvmorg-19.1.5, llvmorg-19.1.4, llvmorg-19.1.3, llvmorg-19.1.2, llvmorg-19.1.1, llvmorg-19.1.0, llvmorg-19.1.0-rc4, llvmorg-19.1.0-rc3, llvmorg-19.1.0-rc2, llvmorg-19.1.0-rc1, llvmorg-20-init, llvmorg-18.1.8, llvmorg-18.1.7, llvmorg-18.1.6, llvmorg-18.1.5, llvmorg-18.1.4, llvmorg-18.1.3, llvmorg-18.1.2, llvmorg-18.1.1, llvmorg-18.1.0, llvmorg-18.1.0-rc4, llvmorg-18.1.0-rc3, llvmorg-18.1.0-rc2, llvmorg-18.1.0-rc1, llvmorg-19-init, llvmorg-17.0.6, llvmorg-17.0.5, llvmorg-17.0.4, llvmorg-17.0.3, llvmorg-17.0.2, llvmorg-17.0.1, llvmorg-17.0.0, llvmorg-17.0.0-rc4, llvmorg-17.0.0-rc3, llvmorg-17.0.0-rc2, llvmorg-17.0.0-rc1, llvmorg-18-init, llvmorg-16.0.6, llvmorg-16.0.5, llvmorg-16.0.4, llvmorg-16.0.3, llvmorg-16.0.2, llvmorg-16.0.1, llvmorg-16.0.0, llvmorg-16.0.0-rc4, llvmorg-16.0.0-rc3, llvmorg-16.0.0-rc2, llvmorg-16.0.0-rc1, llvmorg-17-init, llvmorg-15.0.7, llvmorg-15.0.6, llvmorg-15.0.5, llvmorg-15.0.4, llvmorg-15.0.3, llvmorg-15.0.2, llvmorg-15.0.1, llvmorg-15.0.0, llvmorg-15.0.0-rc3, llvmorg-15.0.0-rc2, llvmorg-15.0.0-rc1, llvmorg-16-init, llvmorg-14.0.6, llvmorg-14.0.5, llvmorg-14.0.4, llvmorg-14.0.3, llvmorg-14.0.2, llvmorg-14.0.1, llvmorg-14.0.0, llvmorg-14.0.0-rc4, llvmorg-14.0.0-rc3, llvmorg-14.0.0-rc2, llvmorg-14.0.0-rc1, llvmorg-15-init, llvmorg-13.0.1, llvmorg-13.0.1-rc3, llvmorg-13.0.1-rc2, llvmorg-13.0.1-rc1, llvmorg-13.0.0, llvmorg-13.0.0-rc4, llvmorg-13.0.0-rc3, llvmorg-13.0.0-rc2, llvmorg-13.0.0-rc1, llvmorg-14-init, llvmorg-12.0.1, llvmorg-12.0.1-rc4, llvmorg-12.0.1-rc3, llvmorg-12.0.1-rc2, llvmorg-12.0.1-rc1, llvmorg-12.0.0, llvmorg-12.0.0-rc5, llvmorg-12.0.0-rc4, llvmorg-12.0.0-rc3, llvmorg-12.0.0-rc2, llvmorg-11.1.0, llvmorg-11.1.0-rc3, llvmorg-12.0.0-rc1, llvmorg-13-init, llvmorg-11.1.0-rc2, llvmorg-11.1.0-rc1, llvmorg-11.0.1, llvmorg-11.0.1-rc2, llvmorg-11.0.1-rc1, llvmorg-11.0.0, llvmorg-11.0.0-rc6, llvmorg-11.0.0-rc5, llvmorg-11.0.0-rc4, llvmorg-11.0.0-rc3 |
|
| #
7cd6b0c3 |
| 24-Aug-2020 |
Nathan Ridge <[email protected]> |
[clang] Do not consider the template arguments of bases to be bases themselves
Fixes https://github.com/clangd/clangd/issues/504
Differential Revision: https://reviews.llvm.org/D86424
|
|
Revision tags: llvmorg-11.0.0-rc2, llvmorg-11.0.0-rc1, llvmorg-12-init, llvmorg-10.0.1, llvmorg-10.0.1-rc4, llvmorg-10.0.1-rc3, llvmorg-10.0.1-rc2, llvmorg-10.0.1-rc1, llvmorg-10.0.0, llvmorg-10.0.0-rc6, llvmorg-10.0.0-rc5, llvmorg-10.0.0-rc4, llvmorg-10.0.0-rc3 |
|
| #
bb9e92ba |
| 19-Feb-2020 |
Haojian Wu <[email protected]> |
[clang][Index] Fix the incomplete instantiations in libindex.
Summary: libindex will canonicalize references to template instantiations: - 1) reference to an explicit template specialization, report
[clang][Index] Fix the incomplete instantiations in libindex.
Summary: libindex will canonicalize references to template instantiations: - 1) reference to an explicit template specialization, report the specializatiion - 2) otherwise, report the primary template
but 2) is not true for incomplete instantiations, this patch fixes this.
Fixes https://github.com/clangd/clangd/issues/287
Reviewers: kadircet
Subscribers: ilya-biryukov, jkorous, arphaman, usaxena95, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D74830
show more ...
|
|
Revision tags: llvmorg-10.0.0-rc2, llvmorg-10.0.0-rc1, llvmorg-11-init, llvmorg-9.0.1, llvmorg-9.0.1-rc3, llvmorg-9.0.1-rc2, llvmorg-9.0.1-rc1 |
|
| #
4aef105b |
| 20-Sep-2019 |
Richard Smith <[email protected]> |
Finish building the full-expression for a static_assert expression before evaluating it rather than afterwards.
This is groundwork for C++20's P0784R7, where non-trivial destructors can be constexpr
Finish building the full-expression for a static_assert expression before evaluating it rather than afterwards.
This is groundwork for C++20's P0784R7, where non-trivial destructors can be constexpr, so we need ExprWithCleanups markers in constant expressions.
No significant functionality change intended (though this fixes a bug only visible through libclang / -ast-dump / tooling: we now store the converted condition on the StaticAssertDecl rather than the original).
llvm-svn: 372368
show more ...
|
|
Revision tags: llvmorg-9.0.0, llvmorg-9.0.0-rc6, llvmorg-9.0.0-rc5, llvmorg-9.0.0-rc4, llvmorg-9.0.0-rc3, llvmorg-9.0.0-rc2, llvmorg-9.0.0-rc1, llvmorg-10-init, llvmorg-8.0.1, llvmorg-8.0.1-rc4, llvmorg-8.0.1-rc3, llvmorg-8.0.1-rc2, llvmorg-8.0.1-rc1, llvmorg-8.0.0, llvmorg-8.0.0-rc5, llvmorg-8.0.0-rc4 |
|
| #
e7eb27a9 |
| 08-Mar-2019 |
Kadir Cetinkaya <[email protected]> |
[clang][Index] Mark references from Constructors and Destructors to class as NameReference
Summary: In current indexing logic we get references to class itself when we see a constructor/destructor w
[clang][Index] Mark references from Constructors and Destructors to class as NameReference
Summary: In current indexing logic we get references to class itself when we see a constructor/destructor which is only syntactically true. Semantically this information is not correct. This patch marks that reference as NameReference to let clients deal with it.
Reviewers: akyrtzi, gribozavr, nathawes, benlangmuir
Reviewed By: gribozavr, nathawes
Subscribers: nathawes, arphaman, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D58814
llvm-svn: 355668
show more ...
|
|
Revision tags: llvmorg-8.0.0-rc3 |
|
| #
f53621bb |
| 18-Feb-2019 |
Kadir Cetinkaya <[email protected]> |
[clang][Index] Fix usage of IndexImplicitInstantiation
Summary: Indexing context was skipping explicit template instantiations as well. This patch makes sure it only skips implicit ones.
Subscriber
[clang][Index] Fix usage of IndexImplicitInstantiation
Summary: Indexing context was skipping explicit template instantiations as well. This patch makes sure it only skips implicit ones.
Subscribers: arphaman, jdoerfert, cfe-commits
Tags: #clang
Differential Revision: https://reviews.llvm.org/D58189
llvm-svn: 354262
show more ...
|
|
Revision tags: llvmorg-7.1.0, llvmorg-7.1.0-rc1, llvmorg-8.0.0-rc2, llvmorg-8.0.0-rc1, llvmorg-7.0.1, llvmorg-7.0.1-rc3, llvmorg-7.0.1-rc2, llvmorg-7.0.1-rc1 |
|
| #
63a8b6c3 |
| 09-Oct-2018 |
Fangrui Song <[email protected]> |
[Index] Use locations to uniquify function-scope BindingDecl USR
Summary: This makes BindingDecl's of the same name have different USRs, so that references can be correctly attributed.
int a[1]
[Index] Use locations to uniquify function-scope BindingDecl USR
Summary: This makes BindingDecl's of the same name have different USRs, so that references can be correctly attributed.
int a[1] = {}; { auto [x] = a; x; } { auto [x] = a; x; }
Reviewers: akyrtzi, arphaman, rsmith, hokein
Reviewed By: hokein
Subscribers: cfe-commits
Differential Revision: https://reviews.llvm.org/D52445
llvm-svn: 344010
show more ...
|
|
Revision tags: llvmorg-7.0.0, llvmorg-7.0.0-rc3, llvmorg-7.0.0-rc2, llvmorg-7.0.0-rc1, llvmorg-6.0.1, llvmorg-6.0.1-rc3, llvmorg-6.0.1-rc2, llvmorg-6.0.1-rc1, llvmorg-5.0.2, llvmorg-5.0.2-rc2, llvmorg-5.0.2-rc1, llvmorg-6.0.0, llvmorg-6.0.0-rc3, llvmorg-6.0.0-rc2, llvmorg-6.0.0-rc1, llvmorg-5.0.1, llvmorg-5.0.1-rc3, llvmorg-5.0.1-rc2 |
|
| #
41856684 |
| 09-Nov-2017 |
Alex Lorenz <[email protected]> |
[index] tag declarations should use the decl role instead of ref
The 'decl' role is more canonical than the 'ref'. This helps us establish the 'specialization-of' relation just by looking at decls o
[index] tag declarations should use the decl role instead of ref
The 'decl' role is more canonical than the 'ref'. This helps us establish the 'specialization-of' relation just by looking at decls or defs.
rdar://31884960
llvm-svn: 317832
show more ...
|
| #
1c628e3c |
| 07-Nov-2017 |
Alex Lorenz <[email protected]> |
[index] __builtin_offset's field reference is located at the end location
The starting location is the location of the '.'
llvm-svn: 317596
|
| #
7b760095 |
| 07-Nov-2017 |
Alex Lorenz <[email protected]> |
[index] index field references in __builtin_offset
rdar://35109556
llvm-svn: 317593
|
|
Revision tags: llvmorg-5.0.1-rc1, llvmorg-5.0.0, llvmorg-5.0.0-rc5, llvmorg-5.0.0-rc4, llvmorg-5.0.0-rc3 |
|
| #
47827627 |
| 15-Aug-2017 |
Argyrios Kyrtzidis <[email protected]> |
[index] Update indexing to handle CXXDeductionGuideDecls properly
CXXDeductionGuideDecls can't be referenced so there's no need to output a symbol occurrence for them. Also handle DeducedTemplateSpe
[index] Update indexing to handle CXXDeductionGuideDecls properly
CXXDeductionGuideDecls can't be referenced so there's no need to output a symbol occurrence for them. Also handle DeducedTemplateSpecializationTypeLocs in the TypeIndexer so we don't miss the symbol occurrences of the corresponding template decls.
Patch by Nathan Hawes!
Differential Revision: https://reviews.llvm.org/D36641
llvm-svn: 310933
show more ...
|
|
Revision tags: llvmorg-5.0.0-rc2, llvmorg-5.0.0-rc1 |
|
| #
200dc12f |
| 04-Jul-2017 |
Alex Lorenz <[email protected]> |
[index] Index nested name qualifiers in a forward declaration of a class template specialization
rdar://33122110
llvm-svn: 307074
|
| #
b6e03aa9 |
| 22-Jun-2017 |
Alex Lorenz <[email protected]> |
[index] Add the "SpecializationOf" relation to the forward declarations of class template specializations
This commit fixes an issue where a forward declaration of a class template specialization wa
[index] Add the "SpecializationOf" relation to the forward declarations of class template specializations
This commit fixes an issue where a forward declaration of a class template specialization was not related to the base template. We need to relate even forward declarations because specializations don't have to be defined.
rdar://32869409
Differential Revision: https://reviews.llvm.org/D34462
llvm-svn: 305996
show more ...
|
| #
d283dd4e |
| 21-Jun-2017 |
Alex Lorenz <[email protected]> |
[index] Nested class declarations should be annotated with the "specializationOf" relation if they pseudo-override a type in the base template
This commit fixes an issue where Xcode's renaming engin
[index] Nested class declarations should be annotated with the "specializationOf" relation if they pseudo-override a type in the base template
This commit fixes an issue where Xcode's renaming engine couldn't find the reference to the second occurrence of "InnerClass" in this example:
template<typename T> struct Ts { template<typename U> struct InnerClass { }; };
template<> struct Ts<int> { template<typename U> struct InnerClass; // This occurrence wasn't renamed };
rdar://31884960
Differential Revision: https://reviews.llvm.org/D34392
llvm-svn: 305911
show more ...
|
| #
8a656c95 |
| 15-Jun-2017 |
Alex Lorenz <[email protected]> |
[index] Record C++17 global binding declarations
The global C++17 binding declarations should be indexed as variable symbols.
Differential Revision: https://reviews.llvm.org/D33920
llvm-svn: 305508
|
| #
60aac438 |
| 15-Jun-2017 |
Alex Lorenz <[email protected]> |
[index] Index static_assert declarations
static_assert declarations have to be visited while indexing so that we can gather the references to declarations that are present in their assert expression
[index] Index static_assert declarations
static_assert declarations have to be visited while indexing so that we can gather the references to declarations that are present in their assert expression.
Differential Revision: https://reviews.llvm.org/D33913
llvm-svn: 305504
show more ...
|
|
Revision tags: llvmorg-4.0.1, llvmorg-4.0.1-rc3, llvmorg-4.0.1-rc2 |
|
| #
80cb549c |
| 22-May-2017 |
Alex Lorenz <[email protected]> |
[index] Index the default template parameter values
rdar://32323724
llvm-svn: 303568
|
| #
832d8fcc |
| 22-May-2017 |
Alex Lorenz <[email protected]> |
[index] Index the deleted functions
rdar://32323386
llvm-svn: 303563
|
| #
365cb478 |
| 22-May-2017 |
Alex Lorenz <[email protected]> |
[index] Visit the default argument values in function definitions
rdar://32323315
llvm-svn: 303559
|
| #
d65b3e42 |
| 22-May-2017 |
Alex Lorenz <[email protected]> |
[index] 'using namespace' declarations in functions should record the reference to the namespace
rdar://32323190
llvm-svn: 303555
|
| #
4ab51937 |
| 15-May-2017 |
Alex Lorenz <[email protected]> |
[index] Visit and store information about namespace alias declarations
rdar://32195226
llvm-svn: 303048
|
| #
57c4f648 |
| 15-May-2017 |
Alex Lorenz <[email protected]> |
[index] Store correct location for namespace nested name qualifiers
rdar://32195200
llvm-svn: 303046
|
| #
d43f75b5 |
| 12-May-2017 |
Alex Lorenz <[email protected]> |
[index] Index template specialization arguments for function templats
Also ensure that class template specialization arguments are covered
rdar://31812032
llvm-svn: 302918
|
| #
9e2fea19 |
| 04-May-2017 |
Alex Lorenz <[email protected]> |
[Index] The relation between the declarations in template specializations that 'override' declarations in the base template should use the 'specializationOf' relation instead of 'specializationOf | o
[Index] The relation between the declarations in template specializations that 'override' declarations in the base template should use the 'specializationOf' relation instead of 'specializationOf | overrideOf'.
The indexer relations are meant to be orthogonal, so 'specializationOf' is better than the combined relation.
llvm-svn: 302136
show more ...
|
|
Revision tags: llvmorg-4.0.1-rc1 |
|
| #
f41b21e3 |
| 25-Apr-2017 |
Alex Lorenz <[email protected]> |
[index] Index type source info for class specializations
rdar://31758344
llvm-svn: 301315
|
| #
5bf767c5 |
| 25-Apr-2017 |
Alex Lorenz <[email protected]> |
[index] Record the 'SpecializationOf' relation for function specializations
rdar://31603531
llvm-svn: 301310
|