[clang] [libclang] Visit function template instantiations (PR #67928)

2023-10-07 Thread Daan Vanoverloop via cfe-commits
https://github.com/Danacus updated https://github.com/llvm/llvm-project/pull/67928 >From a137ab3f276bfc7f31ff12811232420aa4d7d308 Mon Sep 17 00:00:00 2001 From: Daan Vanoverloop Date: Sat, 7 Oct 2023 10:43:32 +0200 Subject: [PATCH 1/2] [libclang] Add support for template arguments of

[clang] [libclang] Visit function template instantiations (PR #67928)

2023-10-07 Thread Daan Vanoverloop via cfe-commits
https://github.com/Danacus updated https://github.com/llvm/llvm-project/pull/67928 >From fb6ede7cc1156f18eb397b7a19a2ebfddde22285 Mon Sep 17 00:00:00 2001 From: Daan Vanoverloop Date: Sun, 1 Oct 2023 18:48:26 +0200 Subject: [PATCH 1/2] [libclang] Add support for template arguments of

[clang] [libclang] Visit function template instantiations (PR #67928)

2023-10-07 Thread Daan Vanoverloop via cfe-commits
https://github.com/Danacus updated https://github.com/llvm/llvm-project/pull/67928 >From a516d2c53451db78147a631b5c092dbfeba73e89 Mon Sep 17 00:00:00 2001 From: Daan Vanoverloop Date: Sun, 1 Oct 2023 18:48:26 +0200 Subject: [PATCH 1/6] [libclang] Add support for template arguments of

[clang] [libclang] Visit function template instantiations (PR #67928)

2023-10-01 Thread Daan Vanoverloop via cfe-commits
https://github.com/Danacus updated https://github.com/llvm/llvm-project/pull/67928 >From a516d2c53451db78147a631b5c092dbfeba73e89 Mon Sep 17 00:00:00 2001 From: Daan Vanoverloop Date: Sun, 1 Oct 2023 18:48:26 +0200 Subject: [PATCH 1/4] [libclang] Add support for template arguments of

[clang] [libclang] Visit function template instantiations (PR #67928)

2023-10-01 Thread Daan Vanoverloop via cfe-commits
https://github.com/Danacus updated https://github.com/llvm/llvm-project/pull/67928 >From a516d2c53451db78147a631b5c092dbfeba73e89 Mon Sep 17 00:00:00 2001 From: Daan Vanoverloop Date: Sun, 1 Oct 2023 18:48:26 +0200 Subject: [PATCH 1/3] [libclang] Add support for template arguments of

[clang] [libclang] Visit function template instantiations (PR #67928)

2023-10-01 Thread Daan Vanoverloop via cfe-commits
https://github.com/Danacus created https://github.com/llvm/llvm-project/pull/67928 This PR changes `CursorVisitor::VisitFunctionTemplateDecl` such that instantiations of the function template (e.g. `template void foo();`) are visited as children of the `FunctionTemplateDecl`. This also