r252849 - [AttrDocs] Insert blank lines before and after code-block directives.

2015-11-11 Thread Akira Hatanaka via cfe-commits
Author: ahatanak Date: Wed Nov 11 20:41:56 2015 New Revision: 252849 URL: http://llvm.org/viewvc/llvm-project?rev=252849&view=rev Log: [AttrDocs] Insert blank lines before and after code-block directives. The code snippets were not being displayed. This commit fixes the bug. Modified: cfe/tr

r252852 - libclang: add new StringSet type

2015-11-11 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Nov 11 21:57:16 2015 New Revision: 252852 URL: http://llvm.org/viewvc/llvm-project?rev=252852&view=rev Log: libclang: add new StringSet type This allows the return of a set of CXStrings from libclang. This is setup work for an upcoming change to permit returning multip

r252853 - libclang: add clang_Cursor_getCXXManglings

2015-11-11 Thread Saleem Abdulrasool via cfe-commits
Author: compnerd Date: Wed Nov 11 21:57:22 2015 New Revision: 252853 URL: http://llvm.org/viewvc/llvm-project?rev=252853&view=rev Log: libclang: add clang_Cursor_getCXXManglings This function permits the mangling of a C++ 'structor. Depending on the ABI and the declaration, the declaration may c

r252855 - [Sema] Remove unnecessary parens in check using logical or; NFC.

2015-11-11 Thread Nathan Wilson via cfe-commits
Author: nwilson Date: Wed Nov 11 22:25:03 2015 New Revision: 252855 URL: http://llvm.org/viewvc/llvm-project?rev=252855&view=rev Log: [Sema] Remove unnecessary parens in check using logical or; NFC. Modified: cfe/trunk/lib/Sema/SemaDecl.cpp Modified: cfe/trunk/lib/Sema/SemaDecl.cpp URL: htt

Re: r252827 - Add diagnostics which fall under [dcl.spec.concept]p5

2015-11-11 Thread Nathan Wilson via cfe-commits
On Wed, Nov 11, 2015 at 6:59 PM, Richard Smith wrote: > On Wed, Nov 11, 2015 at 3:53 PM, Nathan Wilson via cfe-commits < > cfe-commits@lists.llvm.org> wrote: > >> Author: nwilson >> Date: Wed Nov 11 17:53:35 2015 >> New Revision: 252827 >> >> URL: http://llvm.org/viewvc/llvm-project?rev=252827&vi

Re: [PATCH] D12359: New warning -Wnonconst-parameter when a pointer parameter can be const

2015-11-11 Thread Daniel Marjamäki via cfe-commits
danielmarjamaki added a comment. In http://reviews.llvm.org/D12359#287522, @rsmith wrote: > Why does this construct justify the compiler emitting a warning? It seems to > be reporting a fact about the code rather than a bug, and as there are many > coding styles where variables are not routinel

Re: [PATCH] D12547: Add support for function attribute "disable_tail_calls"

2015-11-11 Thread Akira Hatanaka via cfe-commits
ahatanak updated this revision to Diff 40011. ahatanak added a comment. Address review comments. http://reviews.llvm.org/D12547 Files: include/clang/Basic/Attr.td include/clang/Basic/AttrDocs.td lib/CodeGen/CGCall.cpp lib/Sema/SemaDeclAttr.cpp test/CodeGen/attr-disable-tail-calls.c

r252861 - Use %select to merge two diagnostics that only differ in one word and are emitted in the same place. NFC

2015-11-11 Thread Craig Topper via cfe-commits
Author: ctopper Date: Thu Nov 12 01:36:50 2015 New Revision: 252861 URL: http://llvm.org/viewvc/llvm-project?rev=252861&view=rev Log: Use %select to merge two diagnostics that only differ in one word and are emitted in the same place. NFC Modified: cfe/trunk/include/clang/Basic/DiagnosticLex

<    1   2