tbourvon abandoned this revision.
tbourvon added inline comments.
Comment at: clang-tidy/utils/LexerUtils.h:26
+/// Get source code text for statement.
+Optional<StringRef> getStmtText(const Stmt* Statement, const SourceManager&
> aaron.ballman wrote:
> > Formatting (elsewhere as well).
> > You should run the patch under clang-format to handle this sort of thing.
> Have you seen clang::tooling::fixit::getText? It should cover this use case.
Hadn't seen that! Seems to be making this whole patch obsolete, I'm closing it
rCTE Clang Tools Extra
cfe-commits mailing list