[llvm-branch-commits] [cfe-branch] r244810 - Update release notes for some warning changes.
Author: rtrieu Date: Wed Aug 12 16:02:10 2015 New Revision: 244810 URL: http://llvm.org/viewvc/llvm-project?rev=244810&view=rev Log: Update release notes for some warning changes. Document -Wrange-loop-analysis, -Wpessimizing-move, and -Wredundant-move New group -Wmove -Wmove and -Winfinite-recursion added to -Wmost and -Wall Modified: cfe/branches/release_37/docs/ReleaseNotes.rst Modified: cfe/branches/release_37/docs/ReleaseNotes.rst URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=244810&r1=244809&r2=244810&view=diff == --- cfe/branches/release_37/docs/ReleaseNotes.rst (original) +++ cfe/branches/release_37/docs/ReleaseNotes.rst Wed Aug 12 16:02:10 2015 @@ -64,7 +64,25 @@ Clang's diagnostics are constantly being explain them more clearly, and provide more accurate source information about them. The improvements since the 3.6 release include: -- ... +- -Wrange-loop-analysis analyzes the loop variable type and the container type + to determine whether copies are made of the container elements. If possible, + suggest a const reference type to prevent copies, or a non-reference type + to indicate a copy is made. + +- -Wredundant-move warns when a parameter variable is moved on return and the + return type is the same as the variable. Returning the variable directly + will already make a move, so the call is not needed. + +- -Wpessimizing-move warns when a local variable is ir moved on return and the + return type is the same as the variable. Copy elision cannot take place with + a move, but can take place if the variable is returned directly. + +- -Wmove is a new warning group which has the previous two warnings, + -Wredundant-move and -Wpessimizing-move, as well as previous warning + -Wself-move. In addition, this group is part of -Wmost and -Wall now. + +- -Winfinite-recursion, a warning for functions that only call themselves, + is now part of -Wmost and -Wall. New Compiler Flags -- ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r245857 - Fix typo in release notes, PR24555
Author: rtrieu Date: Mon Aug 24 12:47:18 2015 New Revision: 245857 URL: http://llvm.org/viewvc/llvm-project?rev=245857&view=rev Log: Fix typo in release notes, PR24555 Modified: cfe/branches/release_37/docs/ReleaseNotes.rst Modified: cfe/branches/release_37/docs/ReleaseNotes.rst URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_37/docs/ReleaseNotes.rst?rev=245857&r1=245856&r2=245857&view=diff == --- cfe/branches/release_37/docs/ReleaseNotes.rst (original) +++ cfe/branches/release_37/docs/ReleaseNotes.rst Mon Aug 24 12:47:18 2015 @@ -76,7 +76,7 @@ about them. The improvements since the 3 return type is the same as the variable. Returning the variable directly will already make a move, so the call is not needed. -- -Wpessimizing-move warns when a local variable is ir moved on return and the +- -Wpessimizing-move warns when a local variable is moved on return and the return type is the same as the variable. Copy elision cannot take place with a move, but can take place if the variable is returned directly. ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang-tools-extra-branch] r263809 - Updating branches/google/testing to r263175
Author: rtrieu Date: Fri Mar 18 13:37:59 2016 New Revision: 263809 URL: http://llvm.org/viewvc/llvm-project?rev=263809&view=rev Log: Updating branches/google/testing to r263175 Added: clang-tools-extra/branches/google/testing/ - copied from r263175, clang-tools-extra/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang-tools-extra-branch] r263803 - Cleaning up testing branch
Author: rtrieu Date: Fri Mar 18 13:37:46 2016 New Revision: 263803 URL: http://llvm.org/viewvc/llvm-project?rev=263803&view=rev Log: Cleaning up testing branch Removed: clang-tools-extra/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [compiler-rt-branch] r263803 - Cleaning up testing branch
Author: rtrieu Date: Fri Mar 18 13:37:46 2016 New Revision: 263803 URL: http://llvm.org/viewvc/llvm-project?rev=263803&view=rev Log: Cleaning up testing branch Removed: compiler-rt/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [polly] r263803 - Cleaning up testing branch
Author: rtrieu Date: Fri Mar 18 13:37:46 2016 New Revision: 263803 URL: http://llvm.org/viewvc/llvm-project?rev=263803&view=rev Log: Cleaning up testing branch Removed: polly/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [llvm-tag] r263814 - Creating tags/google/testing/2016-03-18 from r263175
Author: rtrieu Date: Fri Mar 18 13:38:08 2016 New Revision: 263814 URL: http://llvm.org/viewvc/llvm-project?rev=263814&view=rev Log: Creating tags/google/testing/2016-03-18 from r263175 Added: llvm/tags/google/testing/2016-03-18/ (props changed) - copied from r263175, llvm/trunk/ Propchange: llvm/tags/google/testing/2016-03-18/ -- --- svn:ignore (added) +++ svn:ignore Fri Mar 18 13:38:08 2016 @@ -0,0 +1,25 @@ +Debug +Release +Release-Asserts +mklib +Makefile.config +config.log +config.status +cvs.out +autom4te.cache +configure.out +LLVM-* +_distcheckdir +llvm.spec +svn-commit.* +*.patch +*.patch.raw +cscope.* +Debug+Coverage-Asserts +Release+Coverage-Asserts +Debug+Coverage +Release+Coverage +Debug+Checks +Debug+Asserts +Release+Asserts +build Propchange: llvm/tags/google/testing/2016-03-18/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Fri Mar 18 13:38:08 2016 @@ -0,0 +1,3 @@ +/llvm/branches/Apple/Pertwee:110850,110961 +/llvm/branches/type-system-rewrite:133420-134817 +/llvm/trunk:155241 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [compiler-rt-branch] r263807 - Updating branches/google/testing to r263175
Author: rtrieu Date: Fri Mar 18 13:37:55 2016 New Revision: 263807 URL: http://llvm.org/viewvc/llvm-project?rev=263807&view=rev Log: Updating branches/google/testing to r263175 Added: compiler-rt/branches/google/testing/ - copied from r263175, compiler-rt/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [llvm-branch] r263803 - Cleaning up testing branch
Author: rtrieu Date: Fri Mar 18 13:37:46 2016 New Revision: 263803 URL: http://llvm.org/viewvc/llvm-project?rev=263803&view=rev Log: Cleaning up testing branch Removed: llvm/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-tag] r263804 - Creating tags/google/testing/2016-03-18 from r263175
Author: rtrieu Date: Fri Mar 18 13:37:50 2016 New Revision: 263804 URL: http://llvm.org/viewvc/llvm-project?rev=263804&view=rev Log: Creating tags/google/testing/2016-03-18 from r263175 Added: cfe/tags/google/testing/2016-03-18/ (props changed) - copied from r263175, cfe/trunk/ Propchange: cfe/tags/google/testing/2016-03-18/ -- --- svn:ignore (added) +++ svn:ignore Fri Mar 18 13:37:50 2016 @@ -0,0 +1,3 @@ +configure.out +cscope.files +cscope.out Propchange: cfe/tags/google/testing/2016-03-18/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Fri Mar 18 13:37:50 2016 @@ -0,0 +1,3 @@ +/cfe/branches/type-system-rewrite:134693-134817 +/cfe/trunk/test:170344 +/cfe/trunk/test/SemaTemplate:126920 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang-tools-extra-tag] r263808 - Creating tags/google/testing/2016-03-18 from r263175
Author: rtrieu Date: Fri Mar 18 13:37:57 2016 New Revision: 263808 URL: http://llvm.org/viewvc/llvm-project?rev=263808&view=rev Log: Creating tags/google/testing/2016-03-18 from r263175 Added: clang-tools-extra/tags/google/testing/2016-03-18/ - copied from r263175, clang-tools-extra/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [polly] r263811 - Updating branches/google/testing to r263175
Author: rtrieu Date: Fri Mar 18 13:38:03 2016 New Revision: 263811 URL: http://llvm.org/viewvc/llvm-project?rev=263811&view=rev Log: Updating branches/google/testing to r263175 Added: polly/branches/google/testing/ - copied from r263175, polly/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [lldb] r263813 - Updating branches/google/testing to r263175
Author: rtrieu Date: Fri Mar 18 13:38:06 2016 New Revision: 263813 URL: http://llvm.org/viewvc/llvm-project?rev=263813&view=rev Log: Updating branches/google/testing to r263175 Added: lldb/branches/google/testing/ (props changed) - copied from r263175, lldb/trunk/ Propchange: lldb/branches/google/testing/ -- --- svn:ignore (added) +++ svn:ignore Fri Mar 18 13:38:06 2016 @@ -0,0 +1,4 @@ +build +intermediates +llvm +llvm-build Propchange: lldb/branches/google/testing/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Fri Mar 18 13:38:06 2016 @@ -0,0 +1,2 @@ +/lldb/branches/apple/python-GIL:156467-162159 +/lldb/branches/iohandler:198360-200250 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [llvm-branch] r263815 - Updating branches/google/testing to r263175
Author: rtrieu Date: Fri Mar 18 13:38:10 2016 New Revision: 263815 URL: http://llvm.org/viewvc/llvm-project?rev=263815&view=rev Log: Updating branches/google/testing to r263175 Added: llvm/branches/google/testing/ (props changed) - copied from r263175, llvm/trunk/ Propchange: llvm/branches/google/testing/ -- --- svn:ignore (added) +++ svn:ignore Fri Mar 18 13:38:10 2016 @@ -0,0 +1,25 @@ +Debug +Release +Release-Asserts +mklib +Makefile.config +config.log +config.status +cvs.out +autom4te.cache +configure.out +LLVM-* +_distcheckdir +llvm.spec +svn-commit.* +*.patch +*.patch.raw +cscope.* +Debug+Coverage-Asserts +Release+Coverage-Asserts +Debug+Coverage +Release+Coverage +Debug+Checks +Debug+Asserts +Release+Asserts +build Propchange: llvm/branches/google/testing/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Fri Mar 18 13:38:10 2016 @@ -0,0 +1,3 @@ +/llvm/branches/Apple/Pertwee:110850,110961 +/llvm/branches/type-system-rewrite:133420-134817 +/llvm/trunk:155241 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [compiler-rt-tag] r263806 - Creating tags/google/testing/2016-03-18 from r263175
Author: rtrieu Date: Fri Mar 18 13:37:54 2016 New Revision: 263806 URL: http://llvm.org/viewvc/llvm-project?rev=263806&view=rev Log: Creating tags/google/testing/2016-03-18 from r263175 Added: compiler-rt/tags/google/testing/2016-03-18/ - copied from r263175, compiler-rt/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [lldb] r263812 - Creating tags/google/testing/2016-03-18 from r263175
Author: rtrieu Date: Fri Mar 18 13:38:05 2016 New Revision: 263812 URL: http://llvm.org/viewvc/llvm-project?rev=263812&view=rev Log: Creating tags/google/testing/2016-03-18 from r263175 Added: lldb/tags/google/testing/2016-03-18/ (props changed) - copied from r263175, lldb/trunk/ Propchange: lldb/tags/google/testing/2016-03-18/ -- --- svn:ignore (added) +++ svn:ignore Fri Mar 18 13:38:05 2016 @@ -0,0 +1,4 @@ +build +intermediates +llvm +llvm-build Propchange: lldb/tags/google/testing/2016-03-18/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Fri Mar 18 13:38:05 2016 @@ -0,0 +1,2 @@ +/lldb/branches/apple/python-GIL:156467-162159 +/lldb/branches/iohandler:198360-200250 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r263803 - Cleaning up testing branch
Author: rtrieu Date: Fri Mar 18 13:37:46 2016 New Revision: 263803 URL: http://llvm.org/viewvc/llvm-project?rev=263803&view=rev Log: Cleaning up testing branch Removed: cfe/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [lldb] r263803 - Cleaning up testing branch
Author: rtrieu Date: Fri Mar 18 13:37:46 2016 New Revision: 263803 URL: http://llvm.org/viewvc/llvm-project?rev=263803&view=rev Log: Cleaning up testing branch Removed: lldb/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r263805 - Updating branches/google/testing to r263175
Author: rtrieu Date: Fri Mar 18 13:37:52 2016 New Revision: 263805 URL: http://llvm.org/viewvc/llvm-project?rev=263805&view=rev Log: Updating branches/google/testing to r263175 Added: cfe/branches/google/testing/ (props changed) - copied from r263175, cfe/trunk/ Propchange: cfe/branches/google/testing/ -- --- svn:ignore (added) +++ svn:ignore Fri Mar 18 13:37:52 2016 @@ -0,0 +1,3 @@ +configure.out +cscope.files +cscope.out Propchange: cfe/branches/google/testing/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Fri Mar 18 13:37:52 2016 @@ -0,0 +1,3 @@ +/cfe/branches/type-system-rewrite:134693-134817 +/cfe/trunk/test:170344 +/cfe/trunk/test/SemaTemplate:126920 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [polly] r263810 - Creating tags/google/testing/2016-03-18 from r263175
Author: rtrieu Date: Fri Mar 18 13:38:01 2016 New Revision: 263810 URL: http://llvm.org/viewvc/llvm-project?rev=263810&view=rev Log: Creating tags/google/testing/2016-03-18 from r263175 Added: polly/tags/google/testing/2016-03-18/ - copied from r263175, polly/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [compiler-rt-branch] r277664 - Cleaning up testing branch
Author: rtrieu Date: Wed Aug 3 18:05:21 2016 New Revision: 277664 URL: http://llvm.org/viewvc/llvm-project?rev=277664&view=rev Log: Cleaning up testing branch Removed: compiler-rt/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [compiler-rt-branch] r277668 - Updating branches/google/testing to r277323
Author: rtrieu Date: Wed Aug 3 18:05:28 2016 New Revision: 277668 URL: http://llvm.org/viewvc/llvm-project?rev=277668&view=rev Log: Updating branches/google/testing to r277323 Added: compiler-rt/branches/google/testing/ - copied from r277323, compiler-rt/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r277666 - Updating branches/google/testing to r277323
Author: rtrieu Date: Wed Aug 3 18:05:25 2016 New Revision: 277666 URL: http://llvm.org/viewvc/llvm-project?rev=277666&view=rev Log: Updating branches/google/testing to r277323 Added: cfe/branches/google/testing/ (props changed) - copied from r277323, cfe/trunk/ Propchange: cfe/branches/google/testing/ -- --- svn:ignore (added) +++ svn:ignore Wed Aug 3 18:05:25 2016 @@ -0,0 +1,3 @@ +configure.out +cscope.files +cscope.out Propchange: cfe/branches/google/testing/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Wed Aug 3 18:05:25 2016 @@ -0,0 +1,3 @@ +/cfe/branches/type-system-rewrite:134693-134817 +/cfe/trunk/test:170344 +/cfe/trunk/test/SemaTemplate:126920 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [lldb] r277673 - Creating tags/google/testing/2016-08-03 from r277323
Author: rtrieu Date: Wed Aug 3 18:05:38 2016 New Revision: 277673 URL: http://llvm.org/viewvc/llvm-project?rev=277673&view=rev Log: Creating tags/google/testing/2016-08-03 from r277323 Added: lldb/tags/google/testing/2016-08-03/ (props changed) - copied from r277323, lldb/trunk/ Propchange: lldb/tags/google/testing/2016-08-03/ -- --- svn:ignore (added) +++ svn:ignore Wed Aug 3 18:05:38 2016 @@ -0,0 +1,4 @@ +build +intermediates +llvm +llvm-build Propchange: lldb/tags/google/testing/2016-08-03/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Wed Aug 3 18:05:38 2016 @@ -0,0 +1,2 @@ +/lldb/branches/apple/python-GIL:156467-162159 +/lldb/branches/iohandler:198360-200250 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [llvm-branch] r277664 - Cleaning up testing branch
Author: rtrieu Date: Wed Aug 3 18:05:21 2016 New Revision: 277664 URL: http://llvm.org/viewvc/llvm-project?rev=277664&view=rev Log: Cleaning up testing branch Removed: llvm/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [compiler-rt-tag] r277667 - Creating tags/google/testing/2016-08-03 from r277323
Author: rtrieu Date: Wed Aug 3 18:05:26 2016 New Revision: 277667 URL: http://llvm.org/viewvc/llvm-project?rev=277667&view=rev Log: Creating tags/google/testing/2016-08-03 from r277323 Added: compiler-rt/tags/google/testing/2016-08-03/ - copied from r277323, compiler-rt/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-tag] r277665 - Creating tags/google/testing/2016-08-03 from r277323
Author: rtrieu Date: Wed Aug 3 18:05:23 2016 New Revision: 277665 URL: http://llvm.org/viewvc/llvm-project?rev=277665&view=rev Log: Creating tags/google/testing/2016-08-03 from r277323 Added: cfe/tags/google/testing/2016-08-03/ (props changed) - copied from r277323, cfe/trunk/ Propchange: cfe/tags/google/testing/2016-08-03/ -- --- svn:ignore (added) +++ svn:ignore Wed Aug 3 18:05:23 2016 @@ -0,0 +1,3 @@ +configure.out +cscope.files +cscope.out Propchange: cfe/tags/google/testing/2016-08-03/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Wed Aug 3 18:05:23 2016 @@ -0,0 +1,3 @@ +/cfe/branches/type-system-rewrite:134693-134817 +/cfe/trunk/test:170344 +/cfe/trunk/test/SemaTemplate:126920 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang-tools-extra-branch] r277670 - Updating branches/google/testing to r277323
Author: rtrieu Date: Wed Aug 3 18:05:32 2016 New Revision: 277670 URL: http://llvm.org/viewvc/llvm-project?rev=277670&view=rev Log: Updating branches/google/testing to r277323 Added: clang-tools-extra/branches/google/testing/ - copied from r277323, clang-tools-extra/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang-tools-extra-tag] r277669 - Creating tags/google/testing/2016-08-03 from r277323
Author: rtrieu Date: Wed Aug 3 18:05:30 2016 New Revision: 277669 URL: http://llvm.org/viewvc/llvm-project?rev=277669&view=rev Log: Creating tags/google/testing/2016-08-03 from r277323 Added: clang-tools-extra/tags/google/testing/2016-08-03/ - copied from r277323, clang-tools-extra/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [llvm-branch] r277676 - Updating branches/google/testing to r277323
Author: rtrieu Date: Wed Aug 3 18:05:43 2016 New Revision: 277676 URL: http://llvm.org/viewvc/llvm-project?rev=277676&view=rev Log: Updating branches/google/testing to r277323 Added: llvm/branches/google/testing/ (props changed) - copied from r277323, llvm/trunk/ Propchange: llvm/branches/google/testing/ -- --- svn:ignore (added) +++ svn:ignore Wed Aug 3 18:05:43 2016 @@ -0,0 +1,25 @@ +Debug +Release +Release-Asserts +mklib +Makefile.config +config.log +config.status +cvs.out +autom4te.cache +configure.out +LLVM-* +_distcheckdir +llvm.spec +svn-commit.* +*.patch +*.patch.raw +cscope.* +Debug+Coverage-Asserts +Release+Coverage-Asserts +Debug+Coverage +Release+Coverage +Debug+Checks +Debug+Asserts +Release+Asserts +build Propchange: llvm/branches/google/testing/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Wed Aug 3 18:05:43 2016 @@ -0,0 +1,3 @@ +/llvm/branches/Apple/Pertwee:110850,110961 +/llvm/branches/type-system-rewrite:133420-134817 +/llvm/trunk:155241 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [polly] r277664 - Cleaning up testing branch
Author: rtrieu Date: Wed Aug 3 18:05:21 2016 New Revision: 277664 URL: http://llvm.org/viewvc/llvm-project?rev=277664&view=rev Log: Cleaning up testing branch Removed: polly/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r277664 - Cleaning up testing branch
Author: rtrieu Date: Wed Aug 3 18:05:21 2016 New Revision: 277664 URL: http://llvm.org/viewvc/llvm-project?rev=277664&view=rev Log: Cleaning up testing branch Removed: cfe/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang-tools-extra-branch] r277664 - Cleaning up testing branch
Author: rtrieu Date: Wed Aug 3 18:05:21 2016 New Revision: 277664 URL: http://llvm.org/viewvc/llvm-project?rev=277664&view=rev Log: Cleaning up testing branch Removed: clang-tools-extra/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [lldb] r277674 - Updating branches/google/testing to r277323
Author: rtrieu Date: Wed Aug 3 18:05:39 2016 New Revision: 277674 URL: http://llvm.org/viewvc/llvm-project?rev=277674&view=rev Log: Updating branches/google/testing to r277323 Added: lldb/branches/google/testing/ (props changed) - copied from r277323, lldb/trunk/ Propchange: lldb/branches/google/testing/ -- --- svn:ignore (added) +++ svn:ignore Wed Aug 3 18:05:39 2016 @@ -0,0 +1,4 @@ +build +intermediates +llvm +llvm-build Propchange: lldb/branches/google/testing/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Wed Aug 3 18:05:39 2016 @@ -0,0 +1,2 @@ +/lldb/branches/apple/python-GIL:156467-162159 +/lldb/branches/iohandler:198360-200250 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [polly] r277672 - Updating branches/google/testing to r277323
Author: rtrieu Date: Wed Aug 3 18:05:35 2016 New Revision: 277672 URL: http://llvm.org/viewvc/llvm-project?rev=277672&view=rev Log: Updating branches/google/testing to r277323 Added: polly/branches/google/testing/ - copied from r277323, polly/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [polly] r277671 - Creating tags/google/testing/2016-08-03 from r277323
Author: rtrieu Date: Wed Aug 3 18:05:33 2016 New Revision: 277671 URL: http://llvm.org/viewvc/llvm-project?rev=277671&view=rev Log: Creating tags/google/testing/2016-08-03 from r277323 Added: polly/tags/google/testing/2016-08-03/ - copied from r277323, polly/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [lldb] r277664 - Cleaning up testing branch
Author: rtrieu Date: Wed Aug 3 18:05:21 2016 New Revision: 277664 URL: http://llvm.org/viewvc/llvm-project?rev=277664&view=rev Log: Cleaning up testing branch Removed: lldb/branches/google/testing/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [llvm-tag] r277675 - Creating tags/google/testing/2016-08-03 from r277323
Author: rtrieu Date: Wed Aug 3 18:05:41 2016 New Revision: 277675 URL: http://llvm.org/viewvc/llvm-project?rev=277675&view=rev Log: Creating tags/google/testing/2016-08-03 from r277323 Added: llvm/tags/google/testing/2016-08-03/ (props changed) - copied from r277323, llvm/trunk/ Propchange: llvm/tags/google/testing/2016-08-03/ -- --- svn:ignore (added) +++ svn:ignore Wed Aug 3 18:05:41 2016 @@ -0,0 +1,25 @@ +Debug +Release +Release-Asserts +mklib +Makefile.config +config.log +config.status +cvs.out +autom4te.cache +configure.out +LLVM-* +_distcheckdir +llvm.spec +svn-commit.* +*.patch +*.patch.raw +cscope.* +Debug+Coverage-Asserts +Release+Coverage-Asserts +Debug+Coverage +Release+Coverage +Debug+Checks +Debug+Asserts +Release+Asserts +build Propchange: llvm/tags/google/testing/2016-08-03/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Wed Aug 3 18:05:41 2016 @@ -0,0 +1,3 @@ +/llvm/branches/Apple/Pertwee:110850,110961 +/llvm/branches/type-system-rewrite:133420-134817 +/llvm/trunk:155241 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r278441 - Update release notes for new warnings.
Author: rtrieu Date: Thu Aug 11 19:00:21 2016 New Revision: 278441 URL: http://llvm.org/viewvc/llvm-project?rev=278441&view=rev Log: Update release notes for new warnings. Document -Wcomma, -Wfloat-zero-conversion, and -Wfloat-overflow-conversion Modified: cfe/branches/release_39/docs/ReleaseNotes.rst Modified: cfe/branches/release_39/docs/ReleaseNotes.rst URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/docs/ReleaseNotes.rst?rev=278441&r1=278440&r2=278441&view=diff == --- cfe/branches/release_39/docs/ReleaseNotes.rst (original) +++ cfe/branches/release_39/docs/ReleaseNotes.rst Thu Aug 11 19:00:21 2016 @@ -62,7 +62,13 @@ Clang's diagnostics are constantly being explain them more clearly, and provide more accurate source information about them. The improvements since the 3.8 release include: -- ... +- -Wcomma is a new warning to show most uses of the builtin comma operator. +- -Wfloat-conversion has two new sub-warnings to give finer grain control for + floating point to integer conversion warnings. + - -Wfloat-overflow-convserion detects when a constant floating point value +is converted to an integer type and will overflow the target type. + - -Wfloat-zero-conversion detects when a non-zero floating point value is +converted to a zero integer value. New Compiler Flags -- ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [lldb] r278700 - Updating branches/google/stable to r277323
Author: rtrieu Date: Mon Aug 15 13:07:53 2016 New Revision: 278700 URL: http://llvm.org/viewvc/llvm-project?rev=278700&view=rev Log: Updating branches/google/stable to r277323 Added: lldb/branches/google/stable/ (props changed) - copied from r277323, lldb/trunk/ Propchange: lldb/branches/google/stable/ -- --- svn:ignore (added) +++ svn:ignore Mon Aug 15 13:07:53 2016 @@ -0,0 +1,4 @@ +build +intermediates +llvm +llvm-build Propchange: lldb/branches/google/stable/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Mon Aug 15 13:07:53 2016 @@ -0,0 +1,2 @@ +/lldb/branches/apple/python-GIL:156467-162159 +/lldb/branches/iohandler:198360-200250 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang-tools-extra-tag] r278695 - Creating tags/google/stable/2016-08-15 from r277323
Author: rtrieu Date: Mon Aug 15 13:07:45 2016 New Revision: 278695 URL: http://llvm.org/viewvc/llvm-project?rev=278695&view=rev Log: Creating tags/google/stable/2016-08-15 from r277323 Added: clang-tools-extra/tags/google/stable/2016-08-15/ - copied from r277323, clang-tools-extra/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [llvm-branch] r278702 - Updating branches/google/stable to r277323
Author: rtrieu Date: Mon Aug 15 13:07:57 2016 New Revision: 278702 URL: http://llvm.org/viewvc/llvm-project?rev=278702&view=rev Log: Updating branches/google/stable to r277323 Added: llvm/branches/google/stable/ (props changed) - copied from r277323, llvm/trunk/ Propchange: llvm/branches/google/stable/ -- --- svn:ignore (added) +++ svn:ignore Mon Aug 15 13:07:57 2016 @@ -0,0 +1,25 @@ +Debug +Release +Release-Asserts +mklib +Makefile.config +config.log +config.status +cvs.out +autom4te.cache +configure.out +LLVM-* +_distcheckdir +llvm.spec +svn-commit.* +*.patch +*.patch.raw +cscope.* +Debug+Coverage-Asserts +Release+Coverage-Asserts +Debug+Coverage +Release+Coverage +Debug+Checks +Debug+Asserts +Release+Asserts +build Propchange: llvm/branches/google/stable/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Mon Aug 15 13:07:57 2016 @@ -0,0 +1,3 @@ +/llvm/branches/Apple/Pertwee:110850,110961 +/llvm/branches/type-system-rewrite:133420-134817 +/llvm/trunk:155241 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r278692 - Updating branches/google/stable to r277323
Author: rtrieu Date: Mon Aug 15 13:07:39 2016 New Revision: 278692 URL: http://llvm.org/viewvc/llvm-project?rev=278692&view=rev Log: Updating branches/google/stable to r277323 Added: cfe/branches/google/stable/ (props changed) - copied from r277323, cfe/trunk/ Propchange: cfe/branches/google/stable/ -- --- svn:ignore (added) +++ svn:ignore Mon Aug 15 13:07:39 2016 @@ -0,0 +1,3 @@ +configure.out +cscope.files +cscope.out Propchange: cfe/branches/google/stable/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Mon Aug 15 13:07:39 2016 @@ -0,0 +1,3 @@ +/cfe/branches/type-system-rewrite:134693-134817 +/cfe/trunk/test:170344 +/cfe/trunk/test/SemaTemplate:126920 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [llvm-branch] r278690 - Cleaning up stable branch
Author: rtrieu Date: Mon Aug 15 13:07:36 2016 New Revision: 278690 URL: http://llvm.org/viewvc/llvm-project?rev=278690&view=rev Log: Cleaning up stable branch Removed: llvm/branches/google/stable/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang-tools-extra-branch] r278696 - Updating branches/google/stable to r277323
Author: rtrieu Date: Mon Aug 15 13:07:46 2016 New Revision: 278696 URL: http://llvm.org/viewvc/llvm-project?rev=278696&view=rev Log: Updating branches/google/stable to r277323 Added: clang-tools-extra/branches/google/stable/ - copied from r277323, clang-tools-extra/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [lldb] r278699 - Creating tags/google/stable/2016-08-15 from r277323
Author: rtrieu Date: Mon Aug 15 13:07:52 2016 New Revision: 278699 URL: http://llvm.org/viewvc/llvm-project?rev=278699&view=rev Log: Creating tags/google/stable/2016-08-15 from r277323 Added: lldb/tags/google/stable/2016-08-15/ (props changed) - copied from r277323, lldb/trunk/ Propchange: lldb/tags/google/stable/2016-08-15/ -- --- svn:ignore (added) +++ svn:ignore Mon Aug 15 13:07:52 2016 @@ -0,0 +1,4 @@ +build +intermediates +llvm +llvm-build Propchange: lldb/tags/google/stable/2016-08-15/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Mon Aug 15 13:07:52 2016 @@ -0,0 +1,2 @@ +/lldb/branches/apple/python-GIL:156467-162159 +/lldb/branches/iohandler:198360-200250 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [clang-tools-extra-branch] r278690 - Cleaning up stable branch
Author: rtrieu Date: Mon Aug 15 13:07:36 2016 New Revision: 278690 URL: http://llvm.org/viewvc/llvm-project?rev=278690&view=rev Log: Cleaning up stable branch Removed: clang-tools-extra/branches/google/stable/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [compiler-rt-tag] r278693 - Creating tags/google/stable/2016-08-15 from r277323
Author: rtrieu Date: Mon Aug 15 13:07:41 2016 New Revision: 278693 URL: http://llvm.org/viewvc/llvm-project?rev=278693&view=rev Log: Creating tags/google/stable/2016-08-15 from r277323 Added: compiler-rt/tags/google/stable/2016-08-15/ - copied from r277323, compiler-rt/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-tag] r278691 - Creating tags/google/stable/2016-08-15 from r277323
Author: rtrieu Date: Mon Aug 15 13:07:38 2016 New Revision: 278691 URL: http://llvm.org/viewvc/llvm-project?rev=278691&view=rev Log: Creating tags/google/stable/2016-08-15 from r277323 Added: cfe/tags/google/stable/2016-08-15/ (props changed) - copied from r277323, cfe/trunk/ Propchange: cfe/tags/google/stable/2016-08-15/ -- --- svn:ignore (added) +++ svn:ignore Mon Aug 15 13:07:38 2016 @@ -0,0 +1,3 @@ +configure.out +cscope.files +cscope.out Propchange: cfe/tags/google/stable/2016-08-15/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Mon Aug 15 13:07:38 2016 @@ -0,0 +1,3 @@ +/cfe/branches/type-system-rewrite:134693-134817 +/cfe/trunk/test:170344 +/cfe/trunk/test/SemaTemplate:126920 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [lldb] r278690 - Cleaning up stable branch
Author: rtrieu Date: Mon Aug 15 13:07:36 2016 New Revision: 278690 URL: http://llvm.org/viewvc/llvm-project?rev=278690&view=rev Log: Cleaning up stable branch Removed: lldb/branches/google/stable/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r278690 - Cleaning up stable branch
Author: rtrieu Date: Mon Aug 15 13:07:36 2016 New Revision: 278690 URL: http://llvm.org/viewvc/llvm-project?rev=278690&view=rev Log: Cleaning up stable branch Removed: cfe/branches/google/stable/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [compiler-rt-branch] r278694 - Updating branches/google/stable to r277323
Author: rtrieu Date: Mon Aug 15 13:07:43 2016 New Revision: 278694 URL: http://llvm.org/viewvc/llvm-project?rev=278694&view=rev Log: Updating branches/google/stable to r277323 Added: compiler-rt/branches/google/stable/ - copied from r277323, compiler-rt/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [polly] r278690 - Cleaning up stable branch
Author: rtrieu Date: Mon Aug 15 13:07:36 2016 New Revision: 278690 URL: http://llvm.org/viewvc/llvm-project?rev=278690&view=rev Log: Cleaning up stable branch Removed: polly/branches/google/stable/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [compiler-rt-branch] r278690 - Cleaning up stable branch
Author: rtrieu Date: Mon Aug 15 13:07:36 2016 New Revision: 278690 URL: http://llvm.org/viewvc/llvm-project?rev=278690&view=rev Log: Cleaning up stable branch Removed: compiler-rt/branches/google/stable/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [polly] r278698 - Updating branches/google/stable to r277323
Author: rtrieu Date: Mon Aug 15 13:07:50 2016 New Revision: 278698 URL: http://llvm.org/viewvc/llvm-project?rev=278698&view=rev Log: Updating branches/google/stable to r277323 Added: polly/branches/google/stable/ - copied from r277323, polly/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [polly] r278697 - Creating tags/google/stable/2016-08-15 from r277323
Author: rtrieu Date: Mon Aug 15 13:07:48 2016 New Revision: 278697 URL: http://llvm.org/viewvc/llvm-project?rev=278697&view=rev Log: Creating tags/google/stable/2016-08-15 from r277323 Added: polly/tags/google/stable/2016-08-15/ - copied from r277323, polly/trunk/ ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [llvm-tag] r278701 - Creating tags/google/stable/2016-08-15 from r277323
Author: rtrieu Date: Mon Aug 15 13:07:55 2016 New Revision: 278701 URL: http://llvm.org/viewvc/llvm-project?rev=278701&view=rev Log: Creating tags/google/stable/2016-08-15 from r277323 Added: llvm/tags/google/stable/2016-08-15/ (props changed) - copied from r277323, llvm/trunk/ Propchange: llvm/tags/google/stable/2016-08-15/ -- --- svn:ignore (added) +++ svn:ignore Mon Aug 15 13:07:55 2016 @@ -0,0 +1,25 @@ +Debug +Release +Release-Asserts +mklib +Makefile.config +config.log +config.status +cvs.out +autom4te.cache +configure.out +LLVM-* +_distcheckdir +llvm.spec +svn-commit.* +*.patch +*.patch.raw +cscope.* +Debug+Coverage-Asserts +Release+Coverage-Asserts +Debug+Coverage +Release+Coverage +Debug+Checks +Debug+Asserts +Release+Asserts +build Propchange: llvm/tags/google/stable/2016-08-15/ -- --- svn:mergeinfo (added) +++ svn:mergeinfo Mon Aug 15 13:07:55 2016 @@ -0,0 +1,3 @@ +/llvm/branches/Apple/Pertwee:110850,110961 +/llvm/branches/type-system-rewrite:133420-134817 +/llvm/trunk:155241 ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r286667 - Merging r281286:
Author: rtrieu Date: Fri Nov 11 17:11:36 2016 New Revision: 286667 URL: http://llvm.org/viewvc/llvm-project?rev=286667&view=rev Log: Merging r281286: r281286 | rtrieu | 2016-09-12 18:20:40 -0700 (Mon, 12 Sep 2016) | 6 lines Fix interaction between serialization and c++1z feature. In c++1z, static_assert is not required to have a StringLiteral message, where previously it was required. Update the AST Reader to be able to handle a null StringLiteral. Added: cfe/branches/release_39/test/Modules/Inputs/static_assert/ cfe/branches/release_39/test/Modules/Inputs/static_assert/a.h cfe/branches/release_39/test/Modules/Inputs/static_assert/module.modulemap cfe/branches/release_39/test/Modules/static_assert.cpp Modified: cfe/branches/release_39/lib/Serialization/ASTReaderDecl.cpp Modified: cfe/branches/release_39/lib/Serialization/ASTReaderDecl.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/lib/Serialization/ASTReaderDecl.cpp?rev=286667&r1=28&r2=286667&view=diff == --- cfe/branches/release_39/lib/Serialization/ASTReaderDecl.cpp (original) +++ cfe/branches/release_39/lib/Serialization/ASTReaderDecl.cpp Fri Nov 11 17:11:36 2016 @@ -2220,7 +2220,7 @@ void ASTDeclReader::VisitStaticAssertDec VisitDecl(D); D->AssertExprAndFailed.setPointer(Reader.ReadExpr(F)); D->AssertExprAndFailed.setInt(Record[Idx++]); - D->Message = cast(Reader.ReadExpr(F)); + D->Message = cast_or_null(Reader.ReadExpr(F)); D->RParenLoc = ReadSourceLocation(Record, Idx); } Added: cfe/branches/release_39/test/Modules/Inputs/static_assert/a.h URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/test/Modules/Inputs/static_assert/a.h?rev=286667&view=auto == --- cfe/branches/release_39/test/Modules/Inputs/static_assert/a.h (added) +++ cfe/branches/release_39/test/Modules/Inputs/static_assert/a.h Fri Nov 11 17:11:36 2016 @@ -0,0 +1,3 @@ +class S { + static_assert(4 == 4); +}; Added: cfe/branches/release_39/test/Modules/Inputs/static_assert/module.modulemap URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/test/Modules/Inputs/static_assert/module.modulemap?rev=286667&view=auto == --- cfe/branches/release_39/test/Modules/Inputs/static_assert/module.modulemap (added) +++ cfe/branches/release_39/test/Modules/Inputs/static_assert/module.modulemap Fri Nov 11 17:11:36 2016 @@ -0,0 +1 @@ +module a { header "a.h" } Added: cfe/branches/release_39/test/Modules/static_assert.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/test/Modules/static_assert.cpp?rev=286667&view=auto == --- cfe/branches/release_39/test/Modules/static_assert.cpp (added) +++ cfe/branches/release_39/test/Modules/static_assert.cpp Fri Nov 11 17:11:36 2016 @@ -0,0 +1,8 @@ +// RUN: rm -rf %t +// RUN: %clang_cc1 -fmodules -fmodules-cache-path=%t -fimplicit-module-maps \ +// RUN:-I%S/Inputs/static_assert -std=c++1z -verify %s +// expected-no-diagnostics + +#include "a.h" + +S s; ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r286918 - Merging r281287:
Author: rtrieu Date: Mon Nov 14 18:51:55 2016 New Revision: 286918 URL: http://llvm.org/viewvc/llvm-project?rev=286918&view=rev Log: Merging r281287: r281287 | rtrieu | 2016-09-12 18:37:01 -0700 (Mon, 12 Sep 2016) | 2 lines Handle empty message in static_asserts. Modified: cfe/branches/release_39/tools/libclang/CIndex.cpp Modified: cfe/branches/release_39/tools/libclang/CIndex.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/tools/libclang/CIndex.cpp?rev=286918&r1=286917&r2=286918&view=diff == --- cfe/branches/release_39/tools/libclang/CIndex.cpp (original) +++ cfe/branches/release_39/tools/libclang/CIndex.cpp Mon Nov 14 18:51:55 2016 @@ -1243,8 +1243,9 @@ bool CursorVisitor::VisitUnresolvedUsing bool CursorVisitor::VisitStaticAssertDecl(StaticAssertDecl *D) { if (Visit(MakeCXCursor(D->getAssertExpr(), StmtParent, TU, RegionOfInterest))) return true; - if (Visit(MakeCXCursor(D->getMessage(), StmtParent, TU, RegionOfInterest))) -return true; + if (StringLiteral *Message = D->getMessage()) +if (Visit(MakeCXCursor(Message, StmtParent, TU, RegionOfInterest))) + return true; return false; } ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r286922 - Merging r282989:
Author: rtrieu Date: Mon Nov 14 19:05:08 2016 New Revision: 286922 URL: http://llvm.org/viewvc/llvm-project?rev=286922&view=rev Log: Merging r282989: r282989 | rtrieu | 2016-09-30 17:15:24 -0700 (Fri, 30 Sep 2016) | 10 lines Fix crash when emitting error. With templated classes, is possible to not be able to determine is a member function is a special member function before the class is instantiated. Only these special member functions can be defaulted. In some cases, knowing whether a function is a special member function can't be determined until instantiation, so an uninstantiated function could possibly be defaulted too. Add a case to the error diagnostic when the function marked with a default is not known to be a special member function. Modified: cfe/branches/release_39/include/clang/Basic/DiagnosticSemaKinds.td cfe/branches/release_39/test/SemaCXX/cxx0x-defaulted-functions.cpp Modified: cfe/branches/release_39/include/clang/Basic/DiagnosticSemaKinds.td URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/include/clang/Basic/DiagnosticSemaKinds.td?rev=286922&r1=286921&r2=286922&view=diff == --- cfe/branches/release_39/include/clang/Basic/DiagnosticSemaKinds.td (original) +++ cfe/branches/release_39/include/clang/Basic/DiagnosticSemaKinds.td Mon Nov 14 19:05:08 2016 @@ -4291,7 +4291,7 @@ def err_definition_of_implicitly_declare def err_definition_of_explicitly_defaulted_member : Error< "definition of explicitly defaulted %select{default constructor|copy " "constructor|move constructor|copy assignment operator|move assignment " - "operator|destructor}0">; + "operator|destructor|function}0">; def err_redefinition_extern_inline : Error< "redefinition of a 'extern inline' function %0 is not supported in " "%select{C99 mode|C++}1">; Modified: cfe/branches/release_39/test/SemaCXX/cxx0x-defaulted-functions.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/test/SemaCXX/cxx0x-defaulted-functions.cpp?rev=286922&r1=286921&r2=286922&view=diff == --- cfe/branches/release_39/test/SemaCXX/cxx0x-defaulted-functions.cpp (original) +++ cfe/branches/release_39/test/SemaCXX/cxx0x-defaulted-functions.cpp Mon Nov 14 19:05:08 2016 @@ -208,3 +208,38 @@ int fn() { t = true; } } + +namespace dependent_classes { +template +struct conditional; + +template +struct conditional { typedef X type; }; + +template +struct conditional { typedef Y type; }; + +template struct X { + X(); + + // B == false triggers error for = default. + using T = typename conditional::type; + X(T) = default; // expected-error {{only special member functions}} + + // Either value of B creates a constructor that can be default + using U = typename conditional::type; + X(U) = default; +}; + +X x1; +X x2; // expected-note {{in instantiation}} + +template +class E { + explicit E(const int &) = default; +}; + +template +E::E(const int&) {} // expected-error {{definition of explicitly defaulted function}} + +} ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
[llvm-branch-commits] [cfe-branch] r286923 - Merging rr285370:
Author: rtrieu Date: Mon Nov 14 19:16:26 2016 New Revision: 286923 URL: http://llvm.org/viewvc/llvm-project?rev=286923&view=rev Log: Merging rr285370: r285370 | rtrieu | 2016-10-27 17:15:24 -0700 (Thu, 27 Oct 2016) | 10 lines Fix a crash on invalid code. The diagnostic was attempting to access the QualType of a TypeDecl by calling TypeDecl::getTypeForDecl. However, the Type pointer stored there is lazily loaded by functions in ASTContext. In most cases, the pointer is loaded and this does not cause a problem. However, when more that 50 or so unknown types are seen beforehand, this causes the Type to not be loaded, passing a null Type to the diagnostics, leading to the crash. Using ASTContext::getTypeDeclType will give a proper QualType for all cases. Modified: cfe/branches/release_39/lib/Sema/SemaCXXScopeSpec.cpp cfe/branches/release_39/test/SemaCXX/nested-name-spec.cpp Modified: cfe/branches/release_39/lib/Sema/SemaCXXScopeSpec.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/lib/Sema/SemaCXXScopeSpec.cpp?rev=286923&r1=286922&r2=286923&view=diff == --- cfe/branches/release_39/lib/Sema/SemaCXXScopeSpec.cpp (original) +++ cfe/branches/release_39/lib/Sema/SemaCXXScopeSpec.cpp Mon Nov 14 19:16:26 2016 @@ -806,7 +806,7 @@ bool Sema::BuildCXXNestedNameSpecifier(S if (!Found.empty()) { if (TypeDecl *TD = Found.getAsSingle()) Diag(IdentifierLoc, diag::err_expected_class_or_namespace) - << QualType(TD->getTypeForDecl(), 0) << getLangOpts().CPlusPlus; + << Context.getTypeDeclType(TD) << getLangOpts().CPlusPlus; else { Diag(IdentifierLoc, diag::err_expected_class_or_namespace) << &Identifier << getLangOpts().CPlusPlus; Modified: cfe/branches/release_39/test/SemaCXX/nested-name-spec.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/branches/release_39/test/SemaCXX/nested-name-spec.cpp?rev=286923&r1=286922&r2=286923&view=diff == --- cfe/branches/release_39/test/SemaCXX/nested-name-spec.cpp (original) +++ cfe/branches/release_39/test/SemaCXX/nested-name-spec.cpp Mon Nov 14 19:16:26 2016 @@ -435,3 +435,21 @@ namespace PR16951 { // expected-error{{no member named 'X2' in 'PR16951::enumerator_2'}} } + +namespace PR30619 { +c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; +// expected-error@-1 16{{unknown type name 'c'}} +c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; +// expected-error@-1 16{{unknown type name 'c'}} +c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; +// expected-error@-1 16{{unknown type name 'c'}} +c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; c d; +// expected-error@-1 16{{unknown type name 'c'}} +namespace A { +class B { + typedef C D; // expected-error{{unknown type name 'C'}} + A::D::F; + // expected-error@-1{{'D' (aka 'int') is not a class, namespace, or enumeration}} +}; +} +} ___ llvm-branch-commits mailing list llvm-branch-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits