Thread safety analysis: Consider static class members as inaccessible
authorAaron Puchert <aaronpuchert@alice-dsl.net>
Thu, 29 Oct 2020 23:35:14 +0000 (00:35 +0100)
committerAaron Puchert <aaronpuchert@alice-dsl.net>
Thu, 29 Oct 2020 23:35:14 +0000 (00:35 +0100)
commitbbed8cfe80cd27d3a47d877c7608d9be4e487d97
tree47dd93d6529a17d84a3f51e82b0ce422fb550743
parent99f2779c18c8dcd24eaa7edf1f32c59593954cf1
Thread safety analysis: Consider static class members as inaccessible

This fixes the issue pointed out in D84604#2363134. For now we exclude
static members completely, we'll take them into account later.
clang/lib/Analysis/ThreadSafety.cpp
clang/test/SemaCXX/warn-thread-safety-negative.cpp