History log of /llvm-project/clang/lib/AST/CommentSema.cpp (Results 26 – 50 of 99)
Revision (<<< Hide revision tags) (Show revision tags >>>) Date Author Comments
Revision tags: llvmorg-3.9.0, llvmorg-3.9.0-rc3, llvmorg-3.9.0-rc2, llvmorg-3.9.0-rc1, llvmorg-3.8.1, llvmorg-3.8.1-rc1, llvmorg-3.8.0, llvmorg-3.8.0-rc3
# 0a4f3f43 10-Feb-2016 Eugene Zelenko <eugene.zelenko@gmail.com>

Fix some Clang-tidy readability-redundant-control-flow warnings; other minor fixes.

Differential revision: http://reviews.llvm.org/D17060

llvm-svn: 260414


Revision tags: llvmorg-3.8.0-rc2, llvmorg-3.8.0-rc1, llvmorg-3.7.1, llvmorg-3.7.1-rc2, llvmorg-3.7.1-rc1, llvmorg-3.7.0, llvmorg-3.7.0-rc4, llvmorg-3.7.0-rc3, studio-1.4, 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, llvmorg-3.5.0, llvmorg-3.5.0-rc4, llvmorg-3.5.0-rc3, llvmorg-3.5.0-rc2, llvmorg-3.5.0-rc1, llvmorg-3.4.2, llvmorg-3.4.2-rc1
# 36250ad6 12-May-2014 Craig Topper <craig.topper@gmail.com>

[C++11] Use 'nullptr'. AST edition.

llvm-svn: 208517


# 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
# 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
# d9eb05ac 19-Mar-2014 Dmitri Gribenko <gribozavr@gmail.com>

Comment parsing: recognize \param ... on function templates with variadic
parameters

Patch by Joe Ranieri.

llvm-svn: 204235


# 6bf8f803 27-Jan-2014 Dmitri Gribenko <gribozavr@gmail.com>

Comment parsing: don't crash while parsing \deprecated in a standalone comment
(comment without a decl).

I think this can not happen during normal compilation with -Wdocumentation,
only while using

Comment parsing: don't crash while parsing \deprecated in a standalone comment
(comment without a decl).

I think this can not happen during normal compilation with -Wdocumentation,
only while using Clang APIs to parse comments outside of a source file.

Based on a patch by Olivier Goffart.

llvm-svn: 200230

show more ...


# 314cc81b 25-Jan-2014 Alp Toker <alp@nuanti.com>

Rename getResultType() on function and method declarations to getReturnType()

A return type is the declared or deduced part of the function type specified in
the declaration.

A result type is the (

Rename getResultType() on function and method declarations to getReturnType()

A return type is the declared or deduced part of the function type specified in
the declaration.

A result type is the (potentially adjusted) type of the value of an expression
that calls the function.

Rule of thumb:

* Declarations have return types and parameters.
* Expressions have result types and arguments.

llvm-svn: 200082

show more ...


Revision tags: llvmorg-3.4.0
# 110dfa81 17-Dec-2013 Dmitri Gribenko <gribozavr@gmail.com>

Fix strange indentation and remove trailing whitespace on empty lines

llvm-svn: 197513


Revision tags: llvmorg-3.4.0-rc3, llvmorg-3.4.0-rc2, llvmorg-3.4.0-rc1
# eed8061b 10-Nov-2013 Benjamin Kramer <benny.kra@googlemail.com>

Avoid double StringMap lookups. No functionality change.

llvm-svn: 194355


# 70e2e178 10-Nov-2013 Benjamin Kramer <benny.kra@googlemail.com>

CommentSema: Factor code better. No functionality change.

llvm-svn: 194354


# 25284cc9 23-Aug-2013 Robert Wilhelm <robert.wilhelm@gmx.net>

Use pop_back_val() instead of both back() and pop_back().
No functionality change intended.

llvm-svn: 189112


Revision tags: llvmorg-3.3.1-rc1
# 02489eb4 24-Jun-2013 Dmitri Gribenko <gribozavr@gmail.com>

Comment parsing: allow "\param ..." to describe variadic arguments

Original patch by Fariborz Jahanian; extended by me.

Fixes rdar://14124644

llvm-svn: 184688


# c0510b9c 24-Jun-2013 Dmitri Gribenko <gribozavr@gmail.com>

Move comment on Sema::isFunctionPointerVarDecl() to the header file

llvm-svn: 184677


# d6662934 22-Jun-2013 Dmitri Gribenko <gribozavr@gmail.com>

Comment parsing: followup to r184610: allow multiple \returns

Remove unneeded member in CommentSema, add a test for the XML schema (the
schema already allowed multiple paragraphs in <ResultDiscussio

Comment parsing: followup to r184610: allow multiple \returns

Remove unneeded member in CommentSema, add a test for the XML schema (the
schema already allowed multiple paragraphs in <ResultDiscussion>, but there
were no tests for that), fix HTML generation (it is not allowed to have <p>
inside <dl>).

llvm-svn: 184652

show more ...


# fb6f6f61 21-Jun-2013 Fariborz Jahanian <fjahanian@apple.com>

[document parsing]: Allow multiple adjacent \return and the like
commands. Render them properly in XML output.
// rdar://14207725

llvm-svn: 184610


# c0607ed6 19-Jun-2013 Fariborz Jahanian <fjahanian@apple.com>

documentation parsing: patch to make @class work for
class templates; and similarly, @function works for
function templates. // rdar://14124702

llvm-svn: 184329


# dc2e2fb9 19-Jun-2013 NAKAMURA Takumi <geek4civic@gmail.com>

Revert r184249, "doc. parsing: Allow parameter name "..." for variadic functions/methods."

It crashes in the case;

/// Without any "param"s in the description.
int printf(const char *format, ...);

Revert r184249, "doc. parsing: Allow parameter name "..." for variadic functions/methods."

It crashes in the case;

/// Without any "param"s in the description.
int printf(const char *format, ...);

llvm-svn: 184283

show more ...


# 52226083 18-Jun-2013 Fariborz Jahanian <fjahanian@apple.com>

doc. parsing: Allow parameter name "..." for variadic functions/methods.
// rdar://14124644

llvm-svn: 184249


Revision tags: llvmorg-3.3.0, llvmorg-3.3.0-rc3, llvmorg-3.3.0-rc2
# 04eb8abb 20-May-2013 Fariborz Jahanian <fjahanian@apple.com>

doc. parsing. HeaderDoc documentaton allows use of
@class command on an @interface declaration. Turn off
the warning for this case. // rdar://13927330

llvm-svn: 182334


Revision tags: llvmorg-3.3.0-rc1
# abbcbaeb 18-Mar-2013 Fariborz Jahanian <fjahanian@apple.com>

documentation comment parsing. Added couple of
top-level HeaderDoc tags @functiongroup and
@methodgroup to doc. tags recognized.
// rdar://12379114

llvm-svn: 177358


# cfbac5d3 08-Mar-2013 Fariborz Jahanian <fjahanian@apple.com>

Documentation parsing. Some refactoring and code
improvements per Dmtiri's comments. // rdar://12379114

llvm-svn: 176739


# a649eee9 07-Mar-2013 Fariborz Jahanian <fjahanian@apple.com>

HeaderDoc: Support more of HeaderDoc documentation
commands; top level tags such as @interface and
their 2nd level tags such as @coclass, etc.
// rdar://12379114

llvm-svn: 176667


# 41bb7131 06-Mar-2013 Fariborz Jahanian <fjahanian@apple.com>

say objective-C in the warning and streamline
several diagnostics into one. // rdar://13094352

llvm-svn: 176560


# a668bf54 05-Mar-2013 Fariborz Jahanian <fjahanian@apple.com>

fix a missing check in my last patch.
// rdar://13094352

llvm-svn: 176529


# 56fe4066 05-Mar-2013 Fariborz Jahanian <fjahanian@apple.com>

doc. parsing. Improve on diagnostics on my last patch.
// rdar://13094352.

llvm-svn: 176525


1234