[PATCH] D42623: [clang-tidy] Add a Lexer util to get the source text of a statement

Tristan Bourvon via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Sun Jan 28 10:49:56 PST 2018


tbourvon created this revision.
tbourvon added a reviewer: lebedev.ri.
tbourvon added a project: clang-tools-extra.
Herald added subscribers: hintonda, xazax.hun, mgorny.

This is a simple Lexer util to get the source text of a statement given as parameter. This is needed for https://reviews.llvm.org/D37014.


https://reviews.llvm.org/D42623

Files:
  clang-tidy/utils/LexerUtils.cpp
  clang-tidy/utils/LexerUtils.h
  unittests/clang-tidy/CMakeLists.txt
  unittests/clang-tidy/LexerUtilsTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D42623.131710.patch
Type: text/x-patch
Size: 3217 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180128/bf85c848/attachment.bin>


More information about the cfe-commits mailing list