[all-commits] [llvm/llvm-project] 374ceb: [libc] add features to bitset
michaelrj-google via All-commits
all-commits at lists.llvm.org
Fri Oct 28 10:53:08 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 374cebe8df08360829c472ecb396eb2dbbaee943
https://github.com/llvm/llvm-project/commit/374cebe8df08360829c472ecb396eb2dbbaee943
Author: Michael Jones <michaelrj at google.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M libc/src/__support/CPP/bitset.h
M libc/test/src/__support/CPP/bitset_test.cpp
Log Message:
-----------
[libc] add features to bitset
This patch adds the flip, set_range, and operator== functions to bitset.
These will be used in scanf.
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D136881
Commit: 7a129f07562d4b7561bf0ff055e864f6e55982ed
https://github.com/llvm/llvm-project/commit/7a129f07562d4b7561bf0ff055e864f6e55982ed
Author: Michael Jones <michaelrj at google.com>
Date: 2022-10-28 (Fri, 28 Oct 2022)
Changed paths:
M libc/src/stdio/CMakeLists.txt
A libc/src/stdio/scanf_core/CMakeLists.txt
A libc/src/stdio/scanf_core/core_structs.h
A libc/src/stdio/scanf_core/parser.cpp
A libc/src/stdio/scanf_core/parser.h
A libc/src/stdio/scanf_core/scanf_config.h
M libc/test/src/stdio/CMakeLists.txt
M libc/test/src/stdio/printf_core/parser_test.cpp
A libc/test/src/stdio/scanf_core/CMakeLists.txt
A libc/test/src/stdio/scanf_core/parser_test.cpp
M libc/utils/UnitTest/CMakeLists.txt
M libc/utils/UnitTest/PrintfMatcher.h
A libc/utils/UnitTest/ScanfMatcher.cpp
A libc/utils/UnitTest/ScanfMatcher.h
Log Message:
-----------
[libc] add scanf parser and core utilities
This is the first piece of scanf. It's very similar in design to printf,
and so much of the code is copied from that. There were potential issues
with conflicting macros so I've also renamed the "ASSERT_FORMAT_EQ"
macro for printf to "ASSERT_PFORMAT_EQ".
Reviewed By: sivachandra
Differential Revision: https://reviews.llvm.org/D136288
Compare: https://github.com/llvm/llvm-project/compare/f3210d46efef...7a129f07562d
More information about the All-commits
mailing list