From 962668d2c192dd02f75b8ec3628a89964bfb738b Mon Sep 17 00:00:00 2001 From: Dmitri Gribenko Date: Wed, 27 Jun 2012 16:53:58 +0000 Subject: [PATCH] Remove unsigned and a pointer from a comment token (so that each token can have only one semantic string value attached to it), at a cost of adding an additional token. git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@159270 91177308-0d34-0410-b5e6-96231b3b80d8 --- include/clang/AST/CommentLexer.h | 31 ++++++++-------- lib/AST/CommentLexer.cpp | 27 +++++++++----- unittests/AST/CommentLexer.cpp | 61 +++++++++++++++++--------------- 3 files changed, 67 insertions(+), 52 deletions(-) diff --git a/include/clang/AST/CommentLexer.h b/include/clang/AST/CommentLexer.h index 7f7ae62758..1a43341b88 100644 --- a/include/clang/AST/CommentLexer.h +++ b/include/clang/AST/CommentLexer.h @@ -34,7 +34,8 @@ enum TokenKind { verbatim_block_begin, verbatim_block_line, verbatim_block_end, - verbatim_line, + verbatim_line_name, + verbatim_line_text, html_tag_open, //