History log of /llvm-project/clang/lib/Index/CommentToXML.cpp (Results 26 – 37 of 37)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3, studio-1.4
# 556b21aa 13-Aug-2015 Yaron Keren <yaron.keren@gmail.com>

Remove and forbid raw_svector_ostream::flush() calls.
After r244870 flush() will only compare two null pointers and return,
doing nothing but wasting run time. The call is not required any more
as th

Remove and forbid raw_svector_ostream::flush() calls.
After r244870 flush() will only compare two null pointers and return,
doing nothing but wasting run time. The call is not required any more
as the stream and its SmallString are always in sync.

Thanks to David Blaikie for reviewing.

llvm-svn: 244928

show more ...


Revision tags: llvmorg-3.7.0-rc2, llvmorg-3.7.0-rc1, llvmorg-3.6.2, llvmorg-3.6.2-rc1, llvmorg-3.6.1, llvmorg-3.6.1-rc1, llvmorg-3.5.2, llvmorg-3.5.2-rc1, llvmorg-3.6.0, llvmorg-3.6.0-rc4, llvmorg-3.6.0-rc3, llvmorg-3.6.0-rc2, llvmorg-3.6.0-rc1, llvmorg-3.5.1, llvmorg-3.5.1-rc2, llvmorg-3.5.1-rc1
# d0eed3a0 03-Oct-2014 Benjamin Kramer <benny.kra@googlemail.com>

Format: ArrayRefize some implicit copies away.

NFC.

llvm-svn: 219000


# 23376259 09-Sep-2014 Daniel Jasper <djasper@google.com>

clang-format: [JS] Support regex literals with trailing escaped slash.

Before:
var regex = / a\//; int i;

After:
var regex = /a\//;
int i;

This required pushing the Lexer into its wrapper cl

clang-format: [JS] Support regex literals with trailing escaped slash.

Before:
var regex = / a\//; int i;

After:
var regex = /a\//;
int i;

This required pushing the Lexer into its wrapper class and generating a
new one in this specific case. Otherwise, the sequence get lexed as a
//-comment. This is hacky, but I don't know a better way (short of
supporting regex literals in the Lexer).

Pushing the Lexer down seems to make all the call sites simpler.

llvm-svn: 217444

show more ...


Revision tags: llvmorg-3.5.0, llvmorg-3.5.0-rc4, llvmorg-3.5.0-rc3, llvmorg-3.5.0-rc2, llvmorg-3.5.0-rc1
# 236bde3d 26-May-2014 Craig Topper <craig.topper@gmail.com>

[C++11] Use 'nullptr'.

llvm-svn: 209612


Revision tags: llvmorg-3.4.2, llvmorg-3.4.2-rc1
# 0b2026de 30-Apr-2014 Dmitri Gribenko <gribozavr@gmail.com>

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 th

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.

llvm-svn: 207712

show more ...


Revision tags: llvmorg-3.4.1, llvmorg-3.4.1-rc2
# 3f27673e 24-Apr-2014 NAKAMURA Takumi <geek4civic@gmail.com>

CommentToXMLConverter: Don't use "default" to method(s). It is unavailable in msc17.

llvm-svn: 207107


# 4f4dd17d 24-Apr-2014 Dmitri Gribenko <gribozavr@gmail.com>

Comment to XML conversion: use unique_ptr for SimpleFormatContext

llvm-svn: 207087


# 795f6a9d 23-Apr-2014 Nico Weber <nicolasweber@gmx.de>

Fix leak introduced in r194610, found by LSan.

LSan folks: LSan pointed to
#0 0x4953e0 in operator new[](unsigned long) llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:64
#1 0x7fb82af5

Fix leak introduced in r194610, found by LSan.

LSan folks: LSan pointed to
#0 0x4953e0 in operator new[](unsigned long) llvm/projects/compiler-rt/lib/asan/asan_new_delete.cc:64
#1 0x7fb82af5372f in clang::RewriteRope::MakeRopeString(char const*, char const*) llvm/tools/clang/lib/Rewrite/Core/RewriteRope.cpp:796
instead of to the actual leak, which made tracking this down slower than
it could have been.

llvm-svn: 207031

show more ...


# 6db07e2a 22-Apr-2014 Dmitri Gribenko <gribozavr@gmail.com>

Comment parsing: close a hole in CDATA escaping in XML output

llvm-svn: 206886


# 93043620 22-Apr-2014 Dmitri Gribenko <gribozavr@gmail.com>

Comment parsing: in the generated XML file, mark HTML that is safe to pass
through to the output even if the input comment comes from an untrusted source

Attribute filtering is currently based on a

Comment parsing: in the generated XML file, mark HTML that is safe to pass
through to the output even if the input comment comes from an untrusted source

Attribute filtering is currently based on a blacklist, which right now includes
all event handler attributes (they contain JavaScipt code). It should be
switched to a whitelist, but going over all of the HTML5 spec requires a
significant amount of time.

llvm-svn: 206882

show more ...


Revision tags: llvmorg-3.4.1-rc1
# 5553d0d4 07-Jan-2014 Chandler Carruth <chandlerc@gmail.com>

Sort all the #include lines with LLVM's utils/sort_includes.py which
encodes the canonical rules for LLVM's style. I noticed this had drifted
quite a bit when cleaning up LLVM, so wanted to clean up

Sort all the #include lines with LLVM's utils/sort_includes.py which
encodes the canonical rules for LLVM's style. I noticed this had drifted
quite a bit when cleaning up LLVM, so wanted to clean up Clang as well.

llvm-svn: 198686

show more ...


Revision tags: llvmorg-3.4.0, llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1
# 9e605113 13-Nov-2013 Dmitri Gribenko <gribozavr@gmail.com>

Documentation parsing: move comment-to-XML conversion routines to libIndex

llvm-svn: 194610


12