Re: [PATCH] D13802: [OPENMP] Make -fopenmp to turn on OpenMP support by default.

2015-10-25 Thread Alexey Bataev via cfe-commits
ABataev added reviewers: hans, tstellarAMD. ABataev updated this revision to Diff 38374. ABataev marked an inline comment as done. http://reviews.llvm.org/D13802 Files: autoconf/configure.ac configure docs/GettingStarted.rst docs/ReleaseProcess.rst utils/release/test-release.sh Index:

Re: [PATCH] D13802: [OPENMP] Make -fopenmp to turn on OpenMP support by default.

2015-10-25 Thread Alexey Bataev via cfe-commits
ABataev marked an inline comment as done. ABataev added a comment. Hi Chandler, thanks for the review. In http://reviews.llvm.org/D13802#272053, @chandlerc wrote: > Some minor issues below. Also, Hans and Tom should have a glance at the > release bits of this, I don't know any of that stuff. >

Re: [PATCH] D14052: clang-format: Format std::function template parameter consistently inside function

2015-10-25 Thread Daniel Jasper via cfe-commits
djasper added a comment. I'll take a look. I agree that there should be a better approach. Also, you seem to have created the inverse patch :-). http://reviews.llvm.org/D14052 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llv

Re: [PATCH] D14049: clang-tidy/add_new_check.py: Adapt to use %check_clang_tidy in tests

2015-10-25 Thread Manuel Klimek via cfe-commits
LG. Thanks, totally missed this. On Sun, Oct 25, 2015, 7:46 PM Matthias Gehre via cfe-commits < cfe-commits@lists.llvm.org> wrote: > mgehre created this revision. > mgehre added reviewers: alexfh, sbenza, bkramer, aaron.ballman. > mgehre added a subscriber: cfe-commits. > > Adapt clang-tidy/add_n

Re: [clang-tools-extra] r251262 - [clang-tidy] Add return value for non-assert builds.

2015-10-25 Thread David Blaikie via cfe-commits
Ah, I see Benjamin got to this in 251265 On Oct 25, 2015 9:54 PM, "David Blaikie" wrote: > > On Oct 25, 2015 2:47 PM, "Daniel Jasper via cfe-commits" < > cfe-commits@lists.llvm.org> wrote: > > > > Author: djasper > > Date: Sun Oct 25 16:44:55 2015 > > New Revision: 251262 > > > > URL: http://llvm

Re: [clang-tools-extra] r251265 - assert(false) -> llvm_unreachable.

2015-10-25 Thread David Blaikie via cfe-commits
On Oct 25, 2015 3:05 PM, "Benjamin Kramer via cfe-commits" < cfe-commits@lists.llvm.org> wrote: > > Author: d0k > Date: Sun Oct 25 17:03:00 2015 > New Revision: 251265 > > URL: http://llvm.org/viewvc/llvm-project?rev=251265&view=rev > Log: > assert(false) -> llvm_unreachable. > > Modified: > clang-

Re: [clang-tools-extra] r251262 - [clang-tidy] Add return value for non-assert builds.

2015-10-25 Thread David Blaikie via cfe-commits
On Oct 25, 2015 2:47 PM, "Daniel Jasper via cfe-commits" < cfe-commits@lists.llvm.org> wrote: > > Author: djasper > Date: Sun Oct 25 16:44:55 2015 > New Revision: 251262 > > URL: http://llvm.org/viewvc/llvm-project?rev=251262&view=rev > Log: > [clang-tidy] Add return value for non-assert builds. >

Re: [PATCH] D13800: ccc-analyzer: Fix -isystem value passing

2015-10-25 Thread Devin Coughlin via cfe-commits
dcoughlin accepted this revision. dcoughlin added a comment. This revision is now accepted and ready to land. Looks good to me. I will commit. http://reviews.llvm.org/D13800 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.o

[PATCH] D14052: clang-format: Format std::function template parameter consistently inside function

2015-10-25 Thread Jean-Philippe Dufraigne via cfe-commits
jeanphilippeD created this revision. jeanphilippeD added a reviewer: djasper. jeanphilippeD added a subscriber: cfe-commits. Herald added a subscriber: klimek. The function type declared in an std::function template parameter is confused for a cast: Currently: Pass: "std::function< void(int, int

[clang-tools-extra] r251265 - assert(false) -> llvm_unreachable.

2015-10-25 Thread Benjamin Kramer via cfe-commits
Author: d0k Date: Sun Oct 25 17:03:00 2015 New Revision: 251265 URL: http://llvm.org/viewvc/llvm-project?rev=251265&view=rev Log: assert(false) -> llvm_unreachable. Modified: clang-tools-extra/trunk/clang-tidy/readability/ImplicitBoolCastCheck.cpp Modified: clang-tools-extra/trunk/clang-tid

[clang-tools-extra] r251262 - [clang-tidy] Add return value for non-assert builds.

2015-10-25 Thread Daniel Jasper via cfe-commits
Author: djasper Date: Sun Oct 25 16:44:55 2015 New Revision: 251262 URL: http://llvm.org/viewvc/llvm-project?rev=251262&view=rev Log: [clang-tidy] Add return value for non-assert builds. Modified: clang-tools-extra/trunk/clang-tidy/readability/ImplicitBoolCastCheck.cpp Modified: clang-tools

Re: [PATCH] D13973: CFG: Delay creating Dtors for CompoundStmts which end in ReturnStmt

2015-10-25 Thread Matthias Gehre via cfe-commits
mgehre updated this revision to Diff 38359. mgehre added a comment. Update for review comments http://reviews.llvm.org/D13973 Files: lib/Analysis/CFG.cpp test/Analysis/no-unreachable-dtors.cpp Index: test/Analysis/no-unreachable-dtors.cpp ===

Re: [PATCH] D13973: CFG: Delay creating Dtors for CompoundStmts which end in ReturnStmt

2015-10-25 Thread Manuel Klimek via cfe-commits
klimek added inline comments. Comment at: lib/Analysis/CFG.cpp:1949-1952 @@ +1948,6 @@ + } + if(!C->body_empty() && !dyn_cast(*C->body_rbegin())) { +// If the body ends with a ReturnStmt, the dtors will be added in VisitReturnStmt +addAutomaticObjDtors(ScopePos, scopeBe

[libcxx] r251258 - Mark LWG#2495 as complete. No code changes needed

2015-10-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Oct 25 15:12:58 2015 New Revision: 251258 URL: http://llvm.org/viewvc/llvm-project?rev=251258&view=rev Log: Mark LWG#2495 as complete. No code changes needed Modified: libcxx/trunk/www/cxx1z_status.html Modified: libcxx/trunk/www/cxx1z_status.html URL: http://llvm

[libcxx] r251257 - Fix LWG#2489: mem_fn() should be noexcept

2015-10-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Oct 25 15:12:16 2015 New Revision: 251257 URL: http://llvm.org/viewvc/llvm-project?rev=251257&view=rev Log: Fix LWG#2489: mem_fn() should be noexcept Modified: libcxx/trunk/include/functional libcxx/trunk/test/std/utilities/function.objects/func.memfn/member_fu

[libcxx] r251254 - Add the tests for the last commit

2015-10-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Oct 25 14:53:29 2015 New Revision: 251254 URL: http://llvm.org/viewvc/llvm-project?rev=251254&view=rev Log: Add the tests for the last commit Added: libcxx/trunk/test/std/utilities/allocator.adaptor/scoped.adaptor.operators/copy_assign.pass.cpp libcxx/trunk/te

[libcxx] r251253 - Fix LWG#2476: scoped_allocator_adaptor is not assignable

2015-10-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Oct 25 14:52:47 2015 New Revision: 251253 URL: http://llvm.org/viewvc/llvm-project?rev=251253&view=rev Log: Fix LWG#2476: scoped_allocator_adaptor is not assignable Modified: libcxx/trunk/include/scoped_allocator Modified: libcxx/trunk/include/scoped_allocator URL:

[libcxx] r251252 - Add a test for LWG#2466: allocator_traits::max_size() default behavior is incorrect

2015-10-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Oct 25 14:34:04 2015 New Revision: 251252 URL: http://llvm.org/viewvc/llvm-project?rev=251252&view=rev Log: Add a test for LWG#2466: allocator_traits::max_size() default behavior is incorrect Modified: libcxx/trunk/include/memory libcxx/trunk/test/std/utilitie

Re: [PATCH] D10021: Refactor: Simplify boolean conditional return statements in lib/StaticAnalyzer/Checkers

2015-10-25 Thread Ted Kremenek via cfe-commits
krememek added a subscriber: krememek. krememek accepted this revision. krememek added a reviewer: krememek. krememek added a comment. This revision is now accepted and ready to land. These all look good to me. http://reviews.llvm.org/D10021 ___ cfe

[libcxx] r251250 - Add a test for LWG#2462: std::ios_base::failure is overspecified

2015-10-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Oct 25 14:20:14 2015 New Revision: 251250 URL: http://llvm.org/viewvc/llvm-project?rev=251250&view=rev Log: Add a test for LWG#2462: std::ios_base::failure is overspecified Modified: libcxx/trunk/test/std/input.output/iostreams.base/ios.base/ios.types/ios_failure/c

[libcxx] r251247 - Fix LWG#2127: Move-construction with raw_storage_iterator.

2015-10-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Oct 25 13:58:07 2015 New Revision: 251247 URL: http://llvm.org/viewvc/llvm-project?rev=251247&view=rev Log: Fix LWG#2127: Move-construction with raw_storage_iterator. Modified: libcxx/trunk/include/memory libcxx/trunk/test/std/utilities/memory/storage.iterator/

Re: [PATCH] D13973: CFG: Delay creating Dtors for CompoundStmts which end in ReturnStmt

2015-10-25 Thread David Majnemer via cfe-commits
majnemer added a subscriber: majnemer. Comment at: lib/Analysis/CFG.cpp:1949 @@ +1948,3 @@ + } + if(!C->body_empty() && !dyn_cast(*C->body_rbegin())) { +// If the body ends with a ReturnStmt, the dtors will be added in VisitReturnStmt mgehre wrote: > klimek

[PATCH] D14049: clang-tidy/add_new_check.py: Adapt to use %check_clang_tidy in tests

2015-10-25 Thread Matthias Gehre via cfe-commits
mgehre created this revision. mgehre added reviewers: alexfh, sbenza, bkramer, aaron.ballman. mgehre added a subscriber: cfe-commits. Adapt clang-tidy/add_new_check.py according to commit r251010 "Add %check_clang_tidy and %clang_tidy_diff" http://reviews.llvm.org/D14049 Files: clang-tidy/add

Re: [PATCH] D13973: CFG: Delay creating Dtors for CompoundStmts which end in ReturnStmt

2015-10-25 Thread Matthias Gehre via cfe-commits
mgehre added inline comments. Comment at: lib/Analysis/CFG.cpp:1949-1952 @@ +1948,6 @@ + } + if(!C->body_empty() && !dyn_cast(*C->body_rbegin())) { +// If the body ends with a ReturnStmt, the dtors will be added in VisitReturnStmt +addAutomaticObjDtors(ScopePos, scopeBe

Re: [PATCH] D13640: [clang-tidy] Add new check cppcoreguidelines-pro-bounds-array-to-pointer-decay

2015-10-25 Thread Matthias Gehre via cfe-commits
mgehre updated this revision to Diff 38353. mgehre marked an inline comment as done. mgehre added a comment. Do not flag explicit casts http://reviews.llvm.org/D13640 Files: clang-tidy/cppcoreguidelines/CMakeLists.txt clang-tidy/cppcoreguidelines/CppCoreGuidelinesTidyModule.cpp clang-tidy

[libcxx] r251246 - Fix LWG#2244: basic_istream::seekg

2015-10-25 Thread Marshall Clow via cfe-commits
Author: marshall Date: Sun Oct 25 13:31:51 2015 New Revision: 251246 URL: http://llvm.org/viewvc/llvm-project?rev=251246&view=rev Log: Fix LWG#2244: basic_istream::seekg Modified: libcxx/trunk/include/istream libcxx/trunk/test/std/input.output/iostream.format/input.streams/istream.unform

[clang-tools-extra] r251244 - [clang-tidy] Another fix for failing buildbots regarding signedness of char

2015-10-25 Thread Piotr Dziwinski via cfe-commits
Author: piotrdz Date: Sun Oct 25 12:11:13 2015 New Revision: 251244 URL: http://llvm.org/viewvc/llvm-project?rev=251244&view=rev Log: [clang-tidy] Another fix for failing buildbots regarding signedness of char I totally forgot that char can be defined as unsigned on some platforms. Now I made exp

Re: [PATCH] D13289: [libc++] Provide additional templates for valarray transcendentals that satisfy the standard synopsis

2015-10-25 Thread Petr Pavlu via cfe-commits
petpav01 added a comment. Thank you for having a look at this patch. I should get to updating it as requested soon. Apologies for the delay. http://reviews.llvm.org/D13289 ___ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.or

[clang-tools-extra] r251239 - [clang-tidy] Fix for build bots not liking #include

2015-10-25 Thread Piotr Dziwinski via cfe-commits
Author: piotrdz Date: Sun Oct 25 10:47:21 2015 New Revision: 251239 URL: http://llvm.org/viewvc/llvm-project?rev=251239&view=rev Log: [clang-tidy] Fix for build bots not liking #include Modified: clang-tools-extra/trunk/test/clang-tidy/readability-implicit-bool-cast-cxx98.cpp clang-tool

[clang-tools-extra] r251235 - [clang-tidy] Add check readability-implicit-bool-cast

2015-10-25 Thread Piotr Dziwinski via cfe-commits
Author: piotrdz Date: Sun Oct 25 10:31:25 2015 New Revision: 251235 URL: http://llvm.org/viewvc/llvm-project?rev=251235&view=rev Log: [clang-tidy] Add check readability-implicit-bool-cast Summary: This is another check that I ported to clang-tidy from colobot-lint tool. As previously discussed o

Re: [PATCH] D13978: [X86] Support MCU psABI when marking inregs

2015-10-25 Thread Michael Kuperstein via cfe-commits
This revision was automatically updated to reflect the committed changes. Closed by commit rL251224: [X86] Mark inregs correctly for MCU psABI (authored by mkuper). Changed prior to commit: http://reviews.llvm.org/D13978?vs=38107&id=38341#toc Repository: rL LLVM http://reviews.llvm.org/D139

r251224 - [X86] Mark inregs correctly for MCU psABI

2015-10-25 Thread Michael Kuperstein via cfe-commits
Author: mkuper Date: Sun Oct 25 03:18:20 2015 New Revision: 251224 URL: http://llvm.org/viewvc/llvm-project?rev=251224&view=rev Log: [X86] Mark inregs correctly for MCU psABI The MCU psABI calling convention is somewhat, but not quite, like -mregparm 3. In particular, the rules involving structs

Re: [PATCH] D13978: [X86] Support MCU psABI when marking inregs

2015-10-25 Thread Michael Kuperstein via cfe-commits
mkuper added inline comments. Comment at: lib/CodeGen/TargetInfo.cpp:857 @@ -854,3 +856,3 @@ IsWin32StructABI(Win32StructABI), - IsSoftFloatABI(SoftFloatABI), + IsSoftFloatABI(SoftFloatABI), IsMCUABI(MCUABI), DefaultNumRegisterParameters(NumRegisterParamete