================
Comment at: lib/Basic/DiagnosticIDs.cpp:225-226
@@ -224,1 +224,4 @@
 
+/// \brief Cache lookup of the DiagID -> ClassInfo ID mapping.
+static std::pair<unsigned, bool> DiagnosticClassCache[diag::DIAG_UPPER_LIMIT];
+
----------------
Is it OK w.r.t. thread-safety to introduce a modifiable static variable?


http://llvm-reviews.chandlerc.com/D197
_______________________________________________
cfe-commits mailing list
[email protected]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-commits

Reply via email to