Commit d30b8c9
Handle variable templates in
Fix `isInstantiated` and `isInTemplateInstantiation` matchers,
so they return true for instantitions of the variable template,
and any declaration in statement contained in such instantiation.isInstantiated and isInTemplateInstantiation matchers1 parent b8b036a commit d30b8c9
File tree
2 files changed
+45
-2
lines changed- clang
- include/clang/ASTMatchers
- unittests/ASTMatchers
2 files changed
+45
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
6750 | 6750 | | |
6751 | 6751 | | |
6752 | 6752 | | |
6753 | | - | |
| 6753 | + | |
| 6754 | + | |
6754 | 6755 | | |
6755 | 6756 | | |
6756 | 6757 | | |
| |||
6771 | 6772 | | |
6772 | 6773 | | |
6773 | 6774 | | |
6774 | | - | |
| 6775 | + | |
| 6776 | + | |
6775 | 6777 | | |
6776 | 6778 | | |
6777 | 6779 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3313 | 3313 | | |
3314 | 3314 | | |
3315 | 3315 | | |
| 3316 | + | |
| 3317 | + | |
| 3318 | + | |
| 3319 | + | |
| 3320 | + | |
| 3321 | + | |
| 3322 | + | |
| 3323 | + | |
| 3324 | + | |
| 3325 | + | |
| 3326 | + | |
| 3327 | + | |
| 3328 | + | |
| 3329 | + | |
| 3330 | + | |
| 3331 | + | |
| 3332 | + | |
| 3333 | + | |
| 3334 | + | |
| 3335 | + | |
| 3336 | + | |
| 3337 | + | |
| 3338 | + | |
| 3339 | + | |
| 3340 | + | |
| 3341 | + | |
| 3342 | + | |
| 3343 | + | |
| 3344 | + | |
| 3345 | + | |
| 3346 | + | |
| 3347 | + | |
| 3348 | + | |
| 3349 | + | |
| 3350 | + | |
| 3351 | + | |
| 3352 | + | |
| 3353 | + | |
| 3354 | + | |
| 3355 | + | |
| 3356 | + | |
3316 | 3357 | | |
3317 | 3358 | | |
3318 | 3359 | | |
| |||
0 commit comments