Commit 55ed4e3
authored
[Clang][Sema] Remove invalid ctor (NFC) (#82161)
`TemplateArgumentLocInventIterator` default constructor should not
exists
https://github.com/llvm/llvm-project/blob/3496927edcd0685807351ba88a7e2cfb006e1c0d/clang/lib/Sema/TreeTransform.h#L4742
because it doesn't and couldn't initialize `Self` member that is
reference:
https://github.com/llvm/llvm-project/blob/3496927edcd0685807351ba88a7e2cfb006e1c0d/clang/lib/Sema/TreeTransform.h#L4721-L4723
Instantiation of this constructor is always a compile-time error.
Please note, that I didn't run any tests, because cannot imagine
situation where this constructor can be properly used. There are no new
tests for this fix for the same reason.1 parent a4422a5 commit 55ed4e3
1 file changed
+0
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
4759 | 4759 | | |
4760 | 4760 | | |
4761 | 4761 | | |
4762 | | - | |
4763 | | - | |
4764 | 4762 | | |
4765 | 4763 | | |
4766 | 4764 | | |
| |||
0 commit comments