Rietveld Code Review Tool
Help | Bug tracker | Discussion group | Source code | Sign in
(373)

Unified Diff: test/SemaCXX/warn-thread-safety-analysis.cpp

Issue 5674057: Perform template instantiation of delayed attributes on static data members of template classes.
Patch Set: Created 13 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Please Sign in to add in-line comments.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « lib/Sema/SemaTemplateInstantiateDecl.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: test/SemaCXX/warn-thread-safety-analysis.cpp
diff --git a/test/SemaCXX/warn-thread-safety-analysis.cpp b/test/SemaCXX/warn-thread-safety-analysis.cpp
index 80a48cc97919bc48b143906318e10011a23f02b8..fa65147d6a1efd49d14151e09be5a90b93f511a9 100644
--- a/test/SemaCXX/warn-thread-safety-analysis.cpp
+++ b/test/SemaCXX/warn-thread-safety-analysis.cpp
@@ -1847,6 +1847,7 @@ class CellDelayed {
public:
// Test dependent guarded_by
T data GUARDED_BY(mu_);
+ static T static_data GUARDED_BY(static_mu_);
void fooEx(CellDelayed<T> *other) EXCLUSIVE_LOCKS_REQUIRED(mu_, other->mu_) {
this->data = other->data;
@@ -1864,6 +1865,7 @@ public:
}
Mutex mu_;
+ static Mutex static_mu_;
};
void testDelayed() {
« no previous file with comments | « lib/Sema/SemaTemplateInstantiateDecl.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
RSS Feeds Recent Issues | This issue
This is Rietveld f62528b