Home

Comment parsing: remove HTML attribute validation

Press ? to show keyboard shortcuts.
Committed
gribozavrApr 30 2014, 2:54 PM
Parents
rL207711: Provide a version of getSymbolOffset that returns false on error.
Branches
Unknown
Tags
Unknown
Subscribers
None
Projects
None
Description

Comment parsing: remove HTML attribute validation

Since the community says that a blacklist is not good enough, and I don't have
enough time now to implement a proper whitelist, let's just remove the
attribute validation.

But, nevertheless, we can still communicate in the generated XML if our parser
found an issue with the HTML. But this bit is best-effort and is specifically
called out in the schema as such.

rL207712

cfe/trunk/bindings/xml/comment-xml-schema.rng

Loading...

cfe/trunk/include/clang/AST/Comment.h

Loading...

cfe/trunk/include/clang/AST/CommentHTMLTags.td

Loading...

cfe/trunk/lib/AST/CommentSema.cpp

Loading...

cfe/trunk/lib/Index/CommentToXML.cpp

Loading...

cfe/trunk/test/Index/Inputs/CommentXML/valid-function-02.xml

Loading...

cfe/trunk/test/Index/comment-to-html-xml-conversion.cpp

Loading...

cfe/trunk/utils/TableGen/ClangCommentHTMLTagsEmitter.cpp

Loading...

Add Comment