[libcxx] r338479 - [libc++][C++17] Elementary string conversions for integral types

2018-07-31 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Tue Jul 31 19:38:30 2018 New Revision: 338479 URL: http://llvm.org/viewvc/llvm-project?rev=338479&view=rev Log: [libc++][C++17] Elementary string conversions for integral types Summary: Major QoI considerations: - The facility is backported to C++14, same as libstdc++. - Ef

[libcxx] r338486 - [libc++] Fix build failures after merging

2018-07-31 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Tue Jul 31 22:21:26 2018 New Revision: 338486 URL: http://llvm.org/viewvc/llvm-project?rev=338486&view=rev Log: [libc++] Fix build failures after merging Summary: - fix a stupid unit test typo - add symbols to Linux abilist Reviewers: EricWF Subscribers: christof, ldionn

r327780 - Fix codegen for structured binding binding in conditions

2018-03-17 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Sat Mar 17 14:01:27 2018 New Revision: 327780 URL: http://llvm.org/viewvc/llvm-project?rev=327780&view=rev Log: Fix codegen for structured binding binding in conditions Summary: The codegen for conditions assumes that a normal variable declaration is used in a condition, bu

r327782 - [C++17] Allow an empty expression in an if init statement

2018-03-17 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Sat Mar 17 14:42:10 2018 New Revision: 327782 URL: http://llvm.org/viewvc/llvm-project?rev=327782&view=rev Log: [C++17] Allow an empty expression in an if init statement Summary: This fixes [PR35381](https://llvm.org/pr35381) and an additional bug where clang didn't warn ab

[libcxx] r336164 - [libc++] Lift std::errc into a separated header

2018-07-02 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Mon Jul 2 20:25:10 2018 New Revision: 336164 URL: http://llvm.org/viewvc/llvm-project?rev=336164&view=rev Log: [libc++] Lift std::errc into a separated header Summary: This is needed to implement ``, otherwise `` would need to include ``, which pulls in `` -- a header whic

[libcxx] r336165 - [libc++] Install the missing header __errc

2018-07-02 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Mon Jul 2 21:01:44 2018 New Revision: 336165 URL: http://llvm.org/viewvc/llvm-project?rev=336165&view=rev Log: [libc++] Install the missing header __errc Summary: Omitted from D41347. Reviewers: EricWF Subscribers: mgorny, christof, ldionne, cfe-commits Differential Revi

r320008 - Test commit access

2017-12-06 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Wed Dec 6 22:27:58 2017 New Revision: 320008 URL: http://llvm.org/viewvc/llvm-project?rev=320008&view=rev Log: Test commit access Modified: cfe/trunk/lib/Sema/SemaType.cpp Modified: cfe/trunk/lib/Sema/SemaType.cpp URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib

r320011 - Allow conditions to be decomposed with structured bindings

2017-12-06 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Wed Dec 6 23:03:15 2017 New Revision: 320011 URL: http://llvm.org/viewvc/llvm-project?rev=320011&view=rev Log: Allow conditions to be decomposed with structured bindings Summary: This feature was discussed but not yet proposed. It allows a structured binding to appear as

r320401 - P0620 follow-up: deducing `auto` from braced-init-list in new expr

2017-12-11 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Mon Dec 11 10:29:54 2017 New Revision: 320401 URL: http://llvm.org/viewvc/llvm-project?rev=320401&view=rev Log: P0620 follow-up: deducing `auto` from braced-init-list in new expr Summary: This is a side-effect brought in by p0620r0, which allows other placeholder types (der

[libcxx] r320509 - [libcxx] P0604, invoke_result and is_invocable

2017-12-12 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Tue Dec 12 10:42:04 2017 New Revision: 320509 URL: http://llvm.org/viewvc/llvm-project?rev=320509&view=rev Log: [libcxx] P0604, invoke_result and is_invocable Summary: Introduce a new form of `result_of` without function type encoding. Rename and split `is_callable/is_nothr

[libcxx] r320604 - [libcxx] Fix basic_stringbuf constructor

2017-12-13 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Wed Dec 13 10:12:55 2017 New Revision: 320604 URL: http://llvm.org/viewvc/llvm-project?rev=320604&view=rev Log: [libcxx] Fix basic_stringbuf constructor Summary: [libcxx] Fix basic_stringbuf constructor The C++ Standard [stringbuf.cons]p1 defines the effects of the basic_st

[clang] 09b75f4 - [clang-format] New BreakInheritanceList style AfterComma

2021-05-28 Thread Zhihao Yuan via cfe-commits
Author: Zhihao Yuan Date: 2021-05-28T18:24:00-05:00 New Revision: 09b75f480d1d578d48307fd7f3b024b66a75712f URL: https://github.com/llvm/llvm-project/commit/09b75f480d1d578d48307fd7f3b024b66a75712f DIFF: https://github.com/llvm/llvm-project/commit/09b75f480d1d578d48307fd7f3b024b66a75712f.diff L

[clang] 41a0e85 - [PowerPC] Drop stdlib paths in freestanding tests

2021-12-04 Thread Zhihao Yuan via cfe-commits
Author: Zhihao Yuan Date: 2021-12-04T16:51:13-06:00 New Revision: 41a0e850fa30acf2ffd1c4ffda335f07ea0c249b URL: https://github.com/llvm/llvm-project/commit/41a0e850fa30acf2ffd1c4ffda335f07ea0c249b DIFF: https://github.com/llvm/llvm-project/commit/41a0e850fa30acf2ffd1c4ffda335f07ea0c249b.diff L

r328409 - [C++17] Fix class template argument deduction for default constructors without an initializer

2018-03-23 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Fri Mar 23 21:32:11 2018 New Revision: 328409 URL: http://llvm.org/viewvc/llvm-project?rev=328409&view=rev Log: [C++17] Fix class template argument deduction for default constructors without an initializer Summary: As the title says, this makes following code compile: ```

r328797 - [test] Fix an XRay test on FreeBSD

2018-03-29 Thread Zhihao Yuan via cfe-commits
Author: lichray Date: Thu Mar 29 08:50:44 2018 New Revision: 328797 URL: http://llvm.org/viewvc/llvm-project?rev=328797&view=rev Log: [test] Fix an XRay test on FreeBSD Summary: Fixing clang-test on FreeBSD as a follow-up of https://reviews.llvm.org/D43378 to handle the revert happened in r32574

[clang] 136b293 - [c++2b] Implement P0849R8 auto(x)

2022-02-28 Thread Zhihao Yuan via cfe-commits
Author: Zhihao Yuan Date: 2022-02-28T19:21:08-06:00 New Revision: 136b2931292083c8d69c09de9b952c86417b2c5d URL: https://github.com/llvm/llvm-project/commit/136b2931292083c8d69c09de9b952c86417b2c5d DIFF: https://github.com/llvm/llvm-project/commit/136b2931292083c8d69c09de9b952c86417b2c5d.diff L

[clang] d1a59ee - [Clang] Remove redundant init-parens in AST print

2022-02-28 Thread Zhihao Yuan via cfe-commits
Author: Zhihao Yuan Date: 2022-02-28T19:31:16-06:00 New Revision: d1a59eefd3a09f08ba425a20899fbd1766babc45 URL: https://github.com/llvm/llvm-project/commit/d1a59eefd3a09f08ba425a20899fbd1766babc45 DIFF: https://github.com/llvm/llvm-project/commit/d1a59eefd3a09f08ba425a20899fbd1766babc45.diff L

[clang] 44eee65 - [AST] Print NTTP args as string-literals when possible

2022-03-01 Thread Zhihao Yuan via cfe-commits
Author: Zhihao Yuan Date: 2022-03-01T19:34:27-06:00 New Revision: 44eee659f1c530a684fa2e57a983d962b5980620 URL: https://github.com/llvm/llvm-project/commit/44eee659f1c530a684fa2e57a983d962b5980620 DIFF: https://github.com/llvm/llvm-project/commit/44eee659f1c530a684fa2e57a983d962b5980620.diff L