[clang] [Clang] Fix name lookup of conversion operators (PR #142945)

Corentin Jabot via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 11 01:17:27 PDT 2025


================
@@ -3796,12 +3803,12 @@ void Parser::ParseDeclarationSpecifiers(
         // - `return type`.
         SuppressAccessChecks SAC(*this, IsTemplateSpecOrInst);
 
-        const bool Success = TryAnnotateCXXScopeToken(EnteringContext);
+        const bool Failed = TryAnnotateCXXScopeToken(EnteringContext);
 
         if (IsTemplateSpecOrInst)
           SAC.done();
 
-        if (Success) {
+        if (Failed) {
----------------
cor3ntin wrote:

What's happening here?!

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


More information about the cfe-commits mailing list