[clang] [Clang] Disallow explicit object parameters in more contexts (PR #89078)

via cfe-commits cfe-commits at lists.llvm.org
Tue May 28 11:08:45 PDT 2024


================
@@ -4845,6 +4845,55 @@ static TypeSourceInfo *GetFullTypeForDeclarator(TypeProcessingState &state,
       // Check for auto functions and trailing return type and adjust the
       // return type accordingly.
       if (!D.isInvalidType()) {
+        auto isClassType = [&](CXXScopeSpec &SS) {
----------------
Sirraide wrote:

I’m used to PascalCase for lambdas myself, so this is probably just a typo.

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


More information about the cfe-commits mailing list