[PATCH] D25587: Introduce llvm FormatVariadic

Bob Haarman via llvm-commits llvm-commits at lists.llvm.org
Fri Oct 14 15:39:34 PDT 2016


inglorion added inline comments.


================
Comment at: include/llvm/Support/FormatVariadic.h:196
+//
+// To output a literal { to the stream, escape it with another {.  For example:
+//
----------------
While we're at it, we should probably do the same thing for closing braces, too. I think having symmetry between {{ and }} is a little nicer than having {{ and }, and it also matches what C# and Python do.


https://reviews.llvm.org/D25587





More information about the llvm-commits mailing list