================
@@ -131,7 +131,9 @@ struct BuiltinTypeDeclBuilder {
     DeclarationNameInfo NameInfo =
         DeclarationNameInfo(DeclarationName(&II), SourceLocation());
     LookupResult R(S, NameInfo, Sema::LookupOrdinaryName);
-    S.LookupParsedName(R, S.getCurScope(), &SS, false);
+    S.LookupParsedName(R, S.getCurScope(), &SS,
+                       /*ObjectType=*/QualType(),
+                       /*AllowBuiltinCreation*/ false);
----------------
sdkrystian wrote:

@erichkeane I replaced every call to `LookupParsedName` which passed 
`nullptr`/an empty `CXXScopeSpec` and a null `QualType` with a call to 
`LookupName`. 

The two parameters with default arguments are forwarded to 
`LookupQualifiedName`/`LookupName` (the corresponding parameters for those 
functions also have default arguments). 

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

Reply via email to