aaronpuchert added a comment.

Creating a new test makes sense to me if it tests things across components. We 
have such tests for modules, PCH, and templates. There are also separate tests 
for the attribute parsing, which doesn't work terribly well in ObjC either. I 
would agree to making a new test for that when someone fixes PR38896.



================
Comment at: lib/Analysis/ThreadSafetyCommon.cpp:288
+        assert(I < Ctx->NumArgs);
+        return translate(Ctx->FunArgs[I], Ctx->Prev);
+      }
----------------
Does your test run into this with an `ObjCMethodDecl`? I see how we run into 
the assignment to `VD` down below, but I don't understand how we could get here 
without annotating a method.


Repository:
  rC Clang

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D59523/new/

https://reviews.llvm.org/D59523



_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to