[Lldb-commits] [clang] [clang-tools-extra] [lldb] [clang] implement CWG1980 and CWG2064: instantiation-dependency improvements (PR #190495)
Corentin Jabot via lldb-commits
lldb-commits at lists.llvm.org
Mon May 25 05:45:07 PDT 2026
================
@@ -7075,15 +7073,15 @@ QualType TreeTransform<Derived>::TransformDecltypeType(TypeLocBuilder &TLB,
return QualType();
QualType Result = TL.getType();
- if (getDerived().AlwaysRebuild() ||
- E.get() != T->getUnderlyingExpr()) {
+ if (getDerived().AlwaysRebuild() || E.get() != TL.getUnderlyingExpr()) {
Result = getDerived().RebuildDecltypeType(E.get(), TL.getDecltypeLoc());
if (Result.isNull())
return QualType();
- }
- else E.get();
+ } else
+ E.get();
----------------
cor3ntin wrote:
What is this supposed to do?
https://github.com/llvm/llvm-project/pull/190495
More information about the lldb-commits
mailing list