[clang] [Clang] Implement resolution for CWG1835 (PR #92957)

Matheus Izvekov via cfe-commits cfe-commits at lists.llvm.org
Tue May 21 20:57:54 PDT 2024


================
@@ -2893,6 +2893,8 @@ class TreeTransform {
 
     CXXScopeSpec SS;
     SS.Adopt(QualifierLoc);
+    if (FirstQualifierInScope)
+      SS.setFoundFirstQualifierInScope(FirstQualifierInScope);
----------------
mizvekov wrote:

It looks like adding 'FirstQualifierInScope' as a property to SS makes it so keeping and passing both around is redundant.

https://github.com/llvm/llvm-project/pull/92957


More information about the cfe-commits mailing list