[PATCH] D25587: Introduce llvm FormatVariadic

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Tue Oct 18 10:47:37 PDT 2016


zturner updated this revision to Diff 75034.
zturner added a comment.

Changes from previous revision.

1. Formalized the grammar of a replacement sequence.
2. Simplified the parsing code to adhere to the grammar and better assert on error sequences.
3. Added a few non-trivial adapters to demonstrate their use (including adapter composition).


https://reviews.llvm.org/D25587

Files:
  include/llvm/ADT/STLExtras.h
  include/llvm/Support/FormatAdapters.h
  include/llvm/Support/FormatCommon.h
  include/llvm/Support/FormatProviders.h
  include/llvm/Support/FormatVariadic.h
  include/llvm/Support/FormatVariadicDetails.h
  include/llvm/Support/NativeFormatting.h
  include/llvm/Support/YAMLTraits.h
  include/llvm/Support/raw_ostream.h
  lib/Support/CMakeLists.txt
  lib/Support/FormatVariadic.cpp
  lib/Support/NativeFormatting.cpp
  lib/Support/raw_ostream.cpp
  unittests/Support/CMakeLists.txt
  unittests/Support/FormatVariadicTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D25587.75034.patch
Type: text/x-patch
Size: 78202 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161018/a6b4e0f5/attachment-0001.bin>


More information about the llvm-commits mailing list