[clang] [clang] Implement CWG2877 "Type-only lookup for using-enum-declarator" (PR #95399)

Vlad Serebrennikov via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 19 14:02:57 PDT 2024


================
@@ -738,16 +738,47 @@ Parser::DeclGroupPtrTy Parser::ParseUsingDeclaration(
       return nullptr;
     }
 
-    if (!Tok.is(tok::identifier)) {
+    Decl *UED = nullptr;
+
+    if (Tok.is(tok::identifier)) {
----------------
Endilll wrote:

We agreed offline that adding FIXME would be enough for now.

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


More information about the cfe-commits mailing list