https://github.com/aaronpuchert commented:
One more idea for a test: can a parameter attribute reference another parameter? Then we could try something like ```c++ struct ObjectWithMutex { Mutex mu; }; void releaseMember(ObjectWithMutex& object, ReleasableMutexLock& scope EXCLUSIVE_UNLOCK_FUNCTION(object.mu)); ``` Just to ensure we're parsing the attribute in the right context. My understanding is that the attributes can currently not reference `this` due to the mentioned parser issue, so we can't test that. https://github.com/llvm/llvm-project/pull/110523 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits