r256740 - clang-format: Align long braced init lists even if they are nested in

2016-01-03 Thread Daniel Jasper via cfe-commits
Author: djasper Date: Mon Jan 4 01:30:44 2016 New Revision: 256740 URL: http://llvm.org/viewvc/llvm-project?rev=256740&view=rev Log: clang-format: Align long braced init lists even if they are nested in function calls. Modified: cfe/trunk/lib/Format/FormatToken.cpp cfe/trunk/unittests/Fo

r256739 - clang-format: Fix corner case for lambda assignments.

2016-01-03 Thread Daniel Jasper via cfe-commits
Author: djasper Date: Mon Jan 4 01:29:40 2016 New Revision: 256739 URL: http://llvm.org/viewvc/llvm-project?rev=256739&view=rev Log: clang-format: Fix corner case for lambda assignments. Before: std::function my_lambda = []( const string &s) { return s; }; After: std::function my_lamb

r256738 - clang-format: Fix corner-case in ObjC method declaration formatting

2016-01-03 Thread Daniel Jasper via cfe-commits
Author: djasper Date: Mon Jan 4 01:29:07 2016 New Revision: 256738 URL: http://llvm.org/viewvc/llvm-project?rev=256738&view=rev Log: clang-format: Fix corner-case in ObjC method declaration formatting Before: - (void)shortf:(GTMFoo *)theFoo longKeyword:(NSRect)theRect longerKeyword:(fl

r256737 - clang-format: [Proto] Basic support for options with <> for repeated fields.

2016-01-03 Thread Daniel Jasper via cfe-commits
Author: djasper Date: Mon Jan 4 01:28:12 2016 New Revision: 256737 URL: http://llvm.org/viewvc/llvm-project?rev=256737&view=rev Log: clang-format: [Proto] Basic support for options with <> for repeated fields. Modified: cfe/trunk/lib/Format/TokenAnnotator.cpp cfe/trunk/unittests/Format/F

r256736 - clang-format: [Proto] Improve wrapping of message field attributes.

2016-01-03 Thread Daniel Jasper via cfe-commits
Author: djasper Date: Mon Jan 4 01:27:33 2016 New Revision: 256736 URL: http://llvm.org/viewvc/llvm-project?rev=256736&view=rev Log: clang-format: [Proto] Improve wrapping of message field attributes. Before: optional AAA aaa = 1 [foo = {

r256731 - [TableGen] Call llvm_shutdown on exit so that all the ManagedStatic objects in the support library will be deleted.

2016-01-03 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sun Jan 3 22:51:46 2016 New Revision: 256731 URL: http://llvm.org/viewvc/llvm-project?rev=256731&view=rev Log: [TableGen] Call llvm_shutdown on exit so that all the ManagedStatic objects in the support library will be deleted. Modified: cfe/trunk/utils/TableGen/TableGe

[libcxx] r256729 - Print stacktrace with UBSAN

2016-01-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun Jan 3 21:54:58 2016 New Revision: 256729 URL: http://llvm.org/viewvc/llvm-project?rev=256729&view=rev Log: Print stacktrace with UBSAN Modified: libcxx/trunk/test/libcxx/test/config.py Modified: libcxx/trunk/test/libcxx/test/config.py URL: http://llvm.org/viewvc/ll

[libcxx] r256727 - Remove unsafe "__as_link()" cast member function.

2016-01-03 Thread Eric Fiselier via cfe-commits
Author: ericwf Date: Sun Jan 3 21:27:52 2016 New Revision: 256727 URL: http://llvm.org/viewvc/llvm-project?rev=256727&view=rev Log: Remove unsafe "__as_link()" cast member function. "__as_link()" can only be used safely on "__list_node" objects. This patch moves the "__as_link()" member function

[PATCH] D15853: [PGO]: Simplify coverage data lowering code

2016-01-03 Thread David Li via cfe-commits
davidxl created this revision. davidxl added a reviewer: vsk. davidxl added a subscriber: cfe-commits. The names referenced by the coverage data may be associated with functions that are never emitted by Clang. That means those PGO names won't be materialized into the __llvm_prf_names section du

Re: r244070 - [CMake] First pass at adding support for clang bootstrap builds to CMake

2016-01-03 Thread Chandler Carruth via cfe-commits
Hey Chris, I just noticed that this option is only available when you build Clang as a standalone project, as opposed to building all of LLVM. Was that intentional? Is there any plan to support this in more normal whole-LLVM builds? It seems substantially more useful for stuff like picking up misco

r256718 - ArrayRef-ize a function. NFC

2016-01-03 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sun Jan 3 13:43:23 2016 New Revision: 256718 URL: http://llvm.org/viewvc/llvm-project?rev=256718&view=rev Log: ArrayRef-ize a function. NFC Modified: cfe/trunk/lib/AST/ASTContext.cpp Modified: cfe/trunk/lib/AST/ASTContext.cpp URL: http://llvm.org/viewvc/llvm-project/c

r256717 - Use std::is_sorted instead of a manual loop. NFC

2016-01-03 Thread Craig Topper via cfe-commits
Author: ctopper Date: Sun Jan 3 13:43:20 2016 New Revision: 256717 URL: http://llvm.org/viewvc/llvm-project?rev=256717&view=rev Log: Use std::is_sorted instead of a manual loop. NFC Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp Modified: cfe/trunk/lib/CodeGen/CGObjCMac.cpp URL: http://llvm

r256714 - [PGO] Cleanup: Use covmap header definition in the template file

2016-01-03 Thread Xinliang David Li via cfe-commits
Author: davidxl Date: Sun Jan 3 13:25:54 2016 New Revision: 256714 URL: http://llvm.org/viewvc/llvm-project?rev=256714&view=rev Log: [PGO] Cleanup: Use covmap header definition in the template file This is one last remaining instrumentatation related structure that needs to be migrate to use the

Re: [PATCH] D15709: [X86] Support 'interrupt' attribute for x86

2016-01-03 Thread Aaron Ballman via cfe-commits
aaron.ballman added inline comments. Comment at: include/clang/Basic/DiagnosticSemaKinds.td:259 @@ +258,3 @@ +def err_anyx86_interrupt_attribute : Error< + "interrupt service routine %select{must have 'void' return value|" + "can only have a pointer argument and an optional inte

Re: [PATCH] D15709: [X86] Support 'interrupt' attribute for x86

2016-01-03 Thread John McCall via cfe-commits
rjmccall added inline comments. Comment at: include/clang/Basic/DiagnosticSemaKinds.td:259 @@ +258,3 @@ +def err_anyx86_interrupt_attribute : Error< + "interrupt service routine %select{must have 'void' return value|" + "can only have a pointer argument and an optional integer a

Re: [PATCH] D15709: [X86] Support 'interrupt' attribute for x86

2016-01-03 Thread Aaron Ballman via cfe-commits
aaron.ballman added inline comments. Comment at: include/clang/Basic/DiagnosticSemaKinds.td:259 @@ +258,3 @@ +def err_anyx86_interrupt_attribute : Error< + "interrupt service routine %select{must have 'void' return value|" + "can only have a pointer argument and an optional inte

Re: [PATCH] D15709: [X86] Support 'interrupt' attribute for x86

2016-01-03 Thread John McCall via cfe-commits
rjmccall added inline comments. Comment at: include/clang/Basic/DiagnosticSemaKinds.td:259 @@ +258,3 @@ +def err_anyx86_interrupt_attribute : Error< + "interrupt service routine %select{must have 'void' return value|" + "can only have a pointer argument and an optional integer a

Re: [PATCH] D15647: [X86] Fix stack alignment for MCU target (Clang part)

2016-01-03 Thread John McCall via cfe-commits
rjmccall added a comment. LGTM, thanks. http://reviews.llvm.org/D15647 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

r256704 - Fix several accidental DOS line endings in source files

2016-01-03 Thread Dimitry Andric via cfe-commits
Author: dim Date: Sun Jan 3 09:55:40 2016 New Revision: 256704 URL: http://llvm.org/viewvc/llvm-project?rev=256704&view=rev Log: Fix several accidental DOS line endings in source files Summary: There are a number of files in the tree which have been accidentally checked in with DOS line endings

Re: [PATCH] D15849: Fix several accidental DOS line endings in source files

2016-01-03 Thread Aaron Ballman via cfe-commits
aaron.ballman added a subscriber: aaron.ballman. aaron.ballman accepted this revision. aaron.ballman added a reviewer: aaron.ballman. aaron.ballman added a comment. This revision is now accepted and ready to land. LGTM, thank you for this! http://reviews.llvm.org/D15849 __

[PATCH] D15849: Fix several accidental DOS line endings in source files

2016-01-03 Thread Dimitry Andric via cfe-commits
dim created this revision. dim added a reviewer: joerg. dim added a subscriber: cfe-commits. There are a number of files in the tree which have been accidentally checked in with DOS line endings. Convert these to native line endings. There are also a few files which have DOS line endings on purp