[PATCH] Add small text file reader facility.

Diego Novillo dnovillo at google.com
Fri Nov 29 15:03:26 PST 2013


dnovillo added you to the CC list for the revision "Add small text file reader facility.".

Hi chandlerc,

This adds a new utility class in lib/Support: A class to read small
text files one line at a time. It's meant to be a very simple file
reading interface with support for keeping track of line numbers and
specifying a character to mark line comments.

The code has been factored out of the sample profiler pass.

OK to commit?

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

Files:
  include/llvm/Support/FileUtilities.h
  lib/Transforms/Scalar/SampleProfile.cpp
  test/Transforms/SampleProfile/syntax.ll
  unittests/Support/CMakeLists.txt
  unittests/Support/FileReaderTest.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2294.1.patch
Type: text/x-patch
Size: 10124 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131129/ffaea3d5/attachment.bin>


More information about the llvm-commits mailing list