[PATCH] Removing some thread safety custom parsing

Delesley Hutchins delesley at google.com
Wed Sep 4 10:57:14 PDT 2013


It does look like the unevaluated context is the only thing missing at this
point.  It seems reasonable to me that the unevaluated context might be
useful to other attributes, outside of thread safety, so we could consider
adding an extra bit to Attr in Attr.td.



On Wed, Sep 4, 2013 at 10:40 AM, Aaron Ballman <aaron at aaronballman.com>wrote:

> Drat!  I knew it was too good to be true.  ;-)  Thanks!
>
> ~Aaron
>
> On Wed, Sep 4, 2013 at 1:28 PM, Richard Smith <richard at metafoo.co.uk>
> wrote:
> >
> > On 4 Sep 2013 10:16, "Aaron Ballman" <aaron at aaronballman.com> wrote:
> >>
> >> With the refactorings that have been happening for attribute parsing,
> >> it seems this piece of custom parsing logic for thread safety analysis
> >> can go away.  The only real modification here is the updated test case
> >> which provides a definition for two functions; I wanted to make sure I
> >> was not subverting the intention of the test.
> >
> > Sadly, you are. We need the unevaluated context around the expression
> > parsing here. But I suspect most of the duplication can still be factored
> > out.
>



-- 
DeLesley Hutchins | Software Engineer | delesley at google.com | 505-206-0315
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130904/45500fd5/attachment.html>


More information about the cfe-commits mailing list