This is an archive of the discontinued LLVM Phabricator instance.

[clang] ThreadSafetyAnalysis.rst: do not re-define THREAD_ANNOTATION_ATTRIBUTE__ macro
ClosedPublic

Authored by lebedev.ri on May 5 2017, 10:46 AM.

Details

Summary

When trying to actually use that example header, with gcc compiler, i got a warning that THREAD_ANNOTATION_ATTRIBUTE__ macro is being re-defined.
Which makes sense, since that macro was just defined on previous line[s]

Diff Detail

Repository
rL LLVM

Event Timeline

lebedev.ri created this revision.May 5 2017, 10:46 AM
delesley edited edge metadata.May 5 2017, 12:49 PM

LOL. Thanks!

This revision is now accepted and ready to land.May 5 2017, 1:05 PM

Thank you.

No commit rights here, so someone else will have to commit.

aaron.ballman closed this revision.May 5 2017, 1:09 PM

Thanks! I've commit in r302275.