Fariborz Jahanian
|
c98e9130bc
comment parsing. Keep the original command format
|
12 years ago |
Dmitri Gribenko
|
0ff4f8bf47
Use static functions instead of an unnamed namespace
|
12 years ago |
Dmitri Gribenko
|
bf8814478f
Comment parsing: use CharInfo.h
|
12 years ago |
Dmitri Gribenko
|
5bd1e5ba00
Comment parsing: resolve more named character references
|
12 years ago |
Dmitri Gribenko
|
cb5620c9b2
Move UTF conversion routines from clang/lib/Basic to llvm/lib/Support
|
12 years ago |
Fariborz Jahanian
|
4b1a0e4ab6
Removed couple of html named character references in
|
12 years ago |
Fariborz Jahanian
|
658a115c8e
[Doc parsing] Patch to parse Doxygen-supported HTML character
|
12 years ago |
Dmitri Gribenko
|
c934dfe950
Use llvm::hexDigitValue in comment lexer
|
12 years ago |
Dmitri Gribenko
|
aa7dbafc35
Comment lexing: replace manual comparison with StringRef::find_first_of
|
12 years ago |
Dmitri Gribenko
|
8c05da3fd8
Comment parsing: don't parse comment marker followed by a digit as a command
|
13 years ago |
Dmitri Gribenko
|
e4330a302a
Comment AST: TableGen'ize all command lists in CommentCommandTraits.cpp.
|
13 years ago |
Dmitri Gribenko
|
af503a6f21
Remove the useless CommentOptions class.
|
13 years ago |
Dmitri Gribenko
|
c24a76e376
Comment HTML tag name machers: move from StringSwitch to an efficient
|
13 years ago |
Dmitri Gribenko
|
834a5bd311
Comment parsing: parse "<blah" as an HTML tag only if "blah" is a known tag
|
13 years ago |
Dmitri Gribenko
|
aa58081902
Comment parsing: extract TableGen'able pieces into new CommandTraits class.
|
13 years ago |
Dmitri Gribenko
|
477a9f58c1
Implement resolving of HTML character references (named: &, decimal: *,
|
13 years ago |
Dmitri Gribenko
|
64da4e55c1
Comment parsing: don't parse whitespace before \endverbatim as a separate line of whitespace.
|
13 years ago |
Dmitri Gribenko
|
3f38bf2d44
Comment parsing: repaint the bikesched: rename 'HTML open tags' to 'HTML start tags' and 'HTML close tags' to 'HTML end tags' according to HTML spec.
|
13 years ago |
Dmitri Gribenko
|
a5ef44ff5d
Enable comment parsing and semantic analysis to emit diagnostics. A few
|
13 years ago |
Dmitri Gribenko
|
a99ec107ba
Comment lexing: fix lexing to actually work in non-error cases.
|
13 years ago |
Dmitri Gribenko
|
8d3ba23f2d
Implement AST classes for comments, a real parser for Doxygen comments and a
|
13 years ago |
Dmitri Gribenko
|
5676d32a23
Fix an infinite loop in comment lexer: we were not advancing in the input character stream when we saw a '<' that is not a start of an HTML tag.
|
13 years ago |
Dmitri Gribenko
|
962668d2c1
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.
|
13 years ago |
Dmitri Gribenko
|
f5e0aeac8a
Comment lexer: counting backwards from token end is thought to be confusing. We already have a pointer to the beginning of the token, so use it to extract the text instead.
|
13 years ago |
Dmitri Gribenko
|
2d44d77fed
Implement a lexer for structured comments.
|
13 years ago |