=?utf-8?q?Gábor?= Spaits <gaborspai...@gmail.com>,Gabor Spaits
 <gaborspai...@gmail.com>,
=?utf-8?q?Gábor?= Spaits <gaborspai...@gmail.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/112...@github.com>


================
@@ -357,10 +357,13 @@ ParsedType Sema::getTypeName(const IdentifierInfo &II, 
SourceLocation NameLoc,
       return nullptr;
   }
 
-  // FIXME: LookupNestedNameSpecifierName isn't the right kind of
-  // lookup for class-names.
-  LookupNameKind Kind = isClassName ? LookupNestedNameSpecifierName :
-                                      LookupOrdinaryName;
+  // In case we know that the identifier is a class name, we know that it is
----------------
erichkeane wrote:

```suggestion
  // In the case where we know that the identifier is a class name, we know 
that it is
```

https://github.com/llvm/llvm-project/pull/112166
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to