commit | 5f424f1a82d0ed4cf31bdba7c11e200d19e22ed4 | [log] [tgz] |
---|---|---|
author | Alexander <Smertig@users.noreply.github.com> | Sat Apr 20 13:11:24 2024 +0300 |
committer | Copybara-Service <copybara-worker@google.com> | Sat Apr 20 03:19:29 2024 -0700 |
tree | 78016f836aa0770ac451ff4caa8b14f6d8e53dea | |
parent | a23322de661495afbc9a49bd6c06951db173344d [diff] |
[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. GitOrigin-RevId: 55ed4e314fb6f2c3e66113931088c36e6bcfca74