[cfe-commits] [PATCH] Validate C99 and C++03's set of UCNs

Dmitri Gribenko gribozavr at gmail.com
Fri Jan 25 16:51:29 PST 2013



================
Comment at: lib/Lex/UnicodeCharSets.h:29
@@ +28,3 @@
+#ifndef NDEBUG
+  static llvm::SmallPtrSet<const UnicodeCharRange *, 16> Validated;
+  if (Validated.count(CharSet.data()))
----------------
Thread safety?



http://llvm-reviews.chandlerc.com/D327



More information about the cfe-commits mailing list