User Details
- User Since
- Aug 19 2021, 9:44 AM (110 w, 2 d)
Yesterday
Update the SemaChecking.cpp and the test.
Thu, Sep 28
- Simplify code in SemaChecking.cpp
- Fix the nit and rename the variable in SemaChecking.cpp
- Update the condition in SemaChecking.cpp
- Add wchar_t test to show our care
Mon, Sep 18
Fri, Sep 15
Update algorithm.inc to pass prechecks
Correct the #if condition for ranges::starts_with() and ranges::ends_with()
change #if TEST_STD_VER > 20 to #if TEST_STD_VER >= 23
Update tests
Modify algorithm.inc to pass the presubmit
Thu, Sep 14
Remove unused header files
Wed, Sep 13
remove redundant headers to avoid transitive includes
Reformat
- add some headers in ranges_ends_with.h
- fix nits: add/remove some blank lines
- remove useless headers in ranges.ends_with.pass.cpp
Mon, Sep 11
Update benchmark tests
Remove c++ related conditions
update comments
add #include_next
update the reformat msg and tests
Reformat the error msg
Wed, Sep 6
Update test
Tue, Sep 5
Update benchmarks test
Update HasEndsWithR test
Thu, Aug 31
Aug 30 2023
reformat
- reformat
- rename helper function
- add std::move
Remove the short type check part.
From Aaron Ballman:
Instead, we'd want to do some data flow analysis (in the clang static analyzer) so we know the potential range of values of each of the operands and can diagnose the result type from there if we can prove there's a potential for overflow due to type confusion.
Aug 29 2023
- Remove pure integer check to the right place
- Update error msg and all related tests
- Add explanations to header file
Aug 25 2023
Add integer type test and update c2x tests.
Aug 24 2023
Prevent result type from being short and fix the breaking in builtinoverflow.cpp
Rename the warn_overflow_builtin_can_not_be_short for precision
Aug 23 2023
Get ranges::equal optimization back when the iterator is random access iterator, and add a benchmark test to verify the optimization works.
- define STDC_VERSION_STDCKDINT_H
- check short type
Aug 21 2023
- Reformat test files in C/C2x
- Update the definition and the test about __STDC_VERSION_STDCKDINT_H__
- Update release docs and the introduction in the test file
- Update RUN command in the test files
- Update PPDirectives.cpp
- use ranges::size() instead of ranges::distance to get the size of an array at constant time
- remove std::move for all input which call ranges algorithms.
Update else to make it a bit leaner to compile.
Aug 18 2023
add a comment to make code more clear
Pass by referrence
Reformat clang/lib/Lex/PPDirectives.cpp. I use git-clang-format due to previous pre-check failure but lots of modifications in clang/lib/Lex/ directory. Should I keep running git-clang-format if the pre-check fails again?
Aug 16 2023
Skip static_assert() tests because constexpr is not supported in C23 yet: https://github.com/llvm/llvm-project/issues/64742
- separate two files in clang/test/C/C2x
- make some update about the macro STDC_VERSION_STDCKDINT_H add the test for testing it
Aug 15 2023
- rename to .c file
- create clang/test/C/C2x/n2683.c and add codegen tests and semantic tests
- update clang/docs/ReleseNotes.rst
- update clang/www/c_status.html
- reformat PPDirectives.cpp
- set STDC_VERSION instead of gnu
Aug 11 2023
Aug 9 2023
Another followup question: I check https://www.open-std.org/jtc1/sc22/wg14/www/docs/n2683.pdf and I only add Core Proposal here. Do I need to add Supplemental Proposal, like some types?
Aug 8 2023
Aug 7 2023
- Fix some format nits
- Change CHECK-NEXT to CHECK
Jul 21 2023
- If we can get the size of input directly, get it, then compare the sizes and return the result in some cases. Otherwise, go to step2.
- If the input is bidirectional, go to __bidirectional_impl() directly. If not, go to step 3
- Call ranges::equal() to get the result
Jul 5 2023
- Optimize when input is bidirectional iterator.
- Reformat test file
Jun 26 2023
- Test input_iterators
- Update help function (will try to optimize later)
- some nits fixed
Jun 23 2023
- use ranges::advance() rather than std::advance()
- add two test cases: range consists of just one element and suffix consists of just one element
- remove the duplicated test case about predicate
Jun 22 2023
delegate to the non-range overload of operator()
Fix some nits:
- delete duplication
- call ranges::equal in the implementation
- use decltype
- add some tests
Jun 20 2023
replace ranges::drop_view with ranges::subrange
Jun 14 2023
make some changes on tests
Jun 5 2023
update all the robust_against_* tests but no need for robust_against_dangling one
make some format changes