Merge #14129: Trivial: update clang thread-safety docs url

c7f7fa467ec571d3b3fd7ae1d32429b74b18ad9c Trivial: update clang thread-safety docs url (Ben Woosley)

Pull request description:

  From the defunct http://clang.llvm.org/docs/LanguageExtensions.html#threadsafety to https://clang.llvm.org/docs/ThreadSafetyAnalysis.html

Tree-SHA512: 5113c3933fccee7b45cace5d8dffa38b46ed9ad1422795d57843a20b276ed0e513bbf8d3d2bd28f55a46baf14a349871d7a635485785b93cb21baf8b8720c15a
This commit is contained in:
Wladimir J. van der Laan 2018-09-04 12:29:13 +02:00 committed by pasta
parent 1a8f904a0b
commit fa7ef879ac

View File

@ -12,7 +12,7 @@
// TL;DR Add GUARDED_BY(mutex) to member variables. The others are // TL;DR Add GUARDED_BY(mutex) to member variables. The others are
// rarely necessary. Ex: int nFoo GUARDED_BY(cs_foo); // rarely necessary. Ex: int nFoo GUARDED_BY(cs_foo);
// //
// See http://clang.llvm.org/docs/LanguageExtensions.html#threadsafety // See https://clang.llvm.org/docs/ThreadSafetyAnalysis.html
// for documentation. The clang compiler can do advanced static analysis // for documentation. The clang compiler can do advanced static analysis
// of locking when given the -Wthread-safety option. // of locking when given the -Wthread-safety option.
#define LOCKABLE __attribute__((lockable)) #define LOCKABLE __attribute__((lockable))