[PATCH] Add new tool clang-highlight to clang/tools/extra

Johannes Kapfhammer kapf at student.ethz.ch
Wed Jul 30 09:16:08 PDT 2014


Hi djasper,

Initial commit for a standalone tool that highlights C++ code snippets to various output formats.

This revision consists of a general fuzzy parser library (extra/clang-highlight/Fuzzy), a command line frontend clang-highlight (extra/clang-highlight), tests (extra/clang-highlight/unittests) and a small LaTeX package (extra/clang-highlight/latex). Refer to the Documentation (extra/docs) for more details.

Development has taken place on https://github.com/kapf/clang-highlight.

http://reviews.llvm.org/D4725

Files:
  CMakeLists.txt
  clang-highlight/CMakeLists.txt
  clang-highlight/ClangHighlight.cpp
  clang-highlight/Fuzzy/AnnotatedToken.h
  clang-highlight/Fuzzy/CMakeLists.txt
  clang-highlight/Fuzzy/FuzzyAST.h
  clang-highlight/Fuzzy/FuzzyASTPrinter.cpp
  clang-highlight/Fuzzy/FuzzyParser.cpp
  clang-highlight/FuzzyType.h
  clang-highlight/OutputWriter.cpp
  clang-highlight/OutputWriter.h
  clang-highlight/TokenClassifier.cpp
  clang-highlight/TokenClassifier.h
  clang-highlight/latex/clanghighlight.sty
  clang-highlight/latex/sample.tex
  clang-highlight/unittests/CMakeLists.txt
  clang-highlight/unittests/FuzzyParseTest.cpp
  docs/LibFuzzy.rst
  docs/clang-highlight.rst
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D4725.12034.patch
Type: text/x-patch
Size: 130488 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20140730/c350a76e/attachment.bin>


More information about the cfe-commits mailing list