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

Aaron Ballman via cfe-commits cfe-commits at lists.llvm.org
Tue May 28 07:26:53 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) {
----------------
AaronBallman wrote:

```suggestion
        auto IsClassType = [&](CXXScopeSpec &SS) {
```
Our goofy naming style...

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


More information about the cfe-commits mailing list