Commit
8f77dc459e31aad6daab89a124fa92067916274c
by shivam98.tkg[clang] NFC: Fix trivial typo in comments and document
`the the` -> `the`
Reviewed By: xgupta
Differential Revision: https://reviews.llvm.org/D77470
|
 | clang/include/clang/AST/ASTStructuralEquivalence.h |
 | clang/lib/CodeGen/CGExprScalar.cpp |
 | clang/docs/LibASTMatchersReference.html |
 | clang/include/clang/Tooling/Transformer/RangeSelector.h |
 | clang/lib/Lex/PPDirectives.cpp |
 | clang/lib/Sema/SemaAvailability.cpp |
 | clang/include/clang/AST/OpenMPClause.h |
 | clang/include/clang/ASTMatchers/ASTMatchers.h |
 | clang/include/clang/DirectoryWatcher/DirectoryWatcher.h |
 | clang/include/clang/AST/ComparisonCategories.h |
Commit
91c07eb8ee6ea2d48158dce123bac7b7c30eb294
by balazs.benics[analyzer] Ignore single element arrays in getStaticSize() conditionally
Quoting https://gcc.gnu.org/onlinedocs/gcc/Zero-Length.html: > In the absence of the zero-length array extension, in ISO C90 the contents > array in the example above would typically be declared to have a single > element.
We should not assume that the size of the //flexible array member// field has a single element, because in some cases they use it as a fallback for not having the //zero-length array// language extension. In this case, the analyzer should return `Unknown` as the extent of the field instead.
Reviewed By: martong
Differential Revision: https://reviews.llvm.org/D108230
|
 | clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def |
 | clang/test/Analysis/analyzer-config.c |
 | clang/lib/StaticAnalyzer/Core/MemRegion.cpp |
 | clang/test/Analysis/flexible-array-members.c |
Commit
b97a96400a3f9ec33b80d0726111aae1c7b24513
by balazs.benics[analyzer] SValBuilder should have an easy access to AnalyzerOptions
`SVB.getStateManager().getOwningEngine().getAnalysisManager().getAnalyzerOptions()` is quite a mouthful and might involve a few pointer indirections to get such a simple thing like an analyzer option.
This patch introduces an `AnalyzerOptions` reference to the `SValBuilder` abstract class, while refactors a few cases to use this /simpler/ accessor.
Reviewed By: martong, Szelethus
Differential Revision: https://reviews.llvm.org/D108824
|
 | clang/lib/StaticAnalyzer/Core/MemRegion.cpp |
 | clang/include/clang/StaticAnalyzer/Core/PathSensitive/SValBuilder.h |
 | clang/lib/StaticAnalyzer/Core/SValBuilder.cpp |
 | clang/lib/StaticAnalyzer/Core/SimpleSValBuilder.cpp |
Commit
d6ca91ea42455453d08a7922e96fa6685827028d
by balazs.benics[clang][AST] Add support for SubstTemplateTypeParmPackType to ASTImporter
Thank you @martong for acquiring a suitable test case!
Reviewed By: shafik, martong
Differential Revision: https://reviews.llvm.org/D109237
|
 | clang/unittests/AST/ASTImporterTest.cpp |
 | clang/lib/AST/ASTImporter.cpp |
Commit
a1e7e401d2af002af26e1512a31e09eb2d0cf1dc
by shivam98.tkg[compiler-rt] NFC: Fix trivial typo
Reviewed By: xgupta
Differential Revision: https://reviews.llvm.org/D77457
|
 | compiler-rt/lib/dfsan/done_abilist.txt |
 | compiler-rt/lib/builtins/fixunsxfdi.c |
 | compiler-rt/lib/scudo/CMakeLists.txt |
 | compiler-rt/lib/profile/InstrProfilingWriter.c |
 | compiler-rt/test/fuzzer/CustomCrossOverTest.cpp |
 | compiler-rt/lib/sanitizer_common/sanitizer_symbolizer_internal.h |
 | compiler-rt/lib/fuzzer/FuzzerFork.cpp |
 | compiler-rt/test/fuzzer/merge.test |
 | compiler-rt/test/asan/TestCases/Linux/malloc_delete_mismatch.cpp |
 | compiler-rt/test/tsan/fd_dup_norace2.cpp |
 | compiler-rt/test/builtins/Unit/fp_test.h |
 | compiler-rt/lib/fuzzer/CMakeLists.txt |
 | compiler-rt/lib/xray/xray_basic_flags.h |
 | compiler-rt/lib/sanitizer_common/sanitizer_local_address_space_view.h |
 | compiler-rt/test/fuzzer/CustomMutatorTest.cpp |
 | compiler-rt/lib/tsan/rtl/tsan_interceptors_mac.cpp |
 | compiler-rt/include/sanitizer/asan_interface.h |
 | compiler-rt/lib/xray/xray_interface.cpp |
 | compiler-rt/test/sanitizer_common/TestCases/Linux/new_delete_test.cpp |
 | compiler-rt/test/builtins/Unit/clear_cache_test.c |
 | compiler-rt/lib/tsan/rtl/tsan_clock.cpp |
 | compiler-rt/lib/tsan/rtl/tsan_clock.h |
 | compiler-rt/cmake/Modules/BuiltinTests.cmake |
 | compiler-rt/lib/builtins/fixxfdi.c |
 | compiler-rt/test/sanitizer_common/CMakeLists.txt |
 | compiler-rt/lib/builtins/emutls.c |
 | compiler-rt/test/BlocksRuntime/recursiveassign.c |
 | compiler-rt/lib/tsan/rtl/tsan_platform_linux.cpp |
 | compiler-rt/test/tsan/deep_stack1.cpp |
 | compiler-rt/test/lit.common.cfg.py |
 | compiler-rt/lib/builtins/arm/truncdfsf2vfp.S |
 | compiler-rt/lib/profile/InstrProfilingInternal.h |
 | compiler-rt/lib/xray/xray_flags.h |
 | compiler-rt/lib/xray/xray_profiling.cpp |
 | compiler-rt/lib/msan/msan.h |
 | compiler-rt/lib/sanitizer_common/sanitizer_atomic_clang_mips.h |
 | compiler-rt/utils/generate_netbsd_ioctls.awk |
 | compiler-rt/lib/tsan/rtl/tsan_rtl.cpp |
 | compiler-rt/cmake/config-ix.cmake |
 | compiler-rt/lib/profile/InstrProfilingValue.c |
 | compiler-rt/test/asan/TestCases/contiguous_container.cpp |
 | compiler-rt/test/builtins/Unit/enable_execute_stack_test.c |
 | compiler-rt/lib/asan/asan_report.cpp |
 | compiler-rt/lib/msan/msan_interceptors.cpp |
 | compiler-rt/test/asan/TestCases/Windows/dll_host.cpp |
 | compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp |
 | compiler-rt/include/sanitizer/common_interface_defs.h |
 | compiler-rt/test/asan/TestCases/Windows/interface_symbols_windows.cpp |
 | compiler-rt/lib/sanitizer_common/sanitizer_allocator_primary64.h |
 | compiler-rt/test/asan/TestCases/initialization-bug.cpp |
 | compiler-rt/lib/interception/interception_win.cpp |
 | compiler-rt/test/msan/param_tls_limit.cpp |
 | compiler-rt/lib/sanitizer_common/sancov_flags.inc |
 | compiler-rt/lib/builtins/README.txt |
 | compiler-rt/lib/msan/msan_interface_internal.h |
 | compiler-rt/lib/fuzzer/FuzzerMerge.cpp |
 | compiler-rt/lib/xray/tests/unit/function_call_trie_test.cpp |
 | compiler-rt/lib/profile/InstrProfiling.h |
 | compiler-rt/lib/fuzzer/FuzzerTracePC.cpp |
 | compiler-rt/lib/fuzzer/FuzzerDataFlowTrace.cpp |
 | compiler-rt/lib/xray/xray_buffer_queue.cpp |
 | compiler-rt/lib/asan/tests/asan_interface_test.cpp |
 | compiler-rt/lib/asan/asan_interceptors.cpp |
 | compiler-rt/lib/builtins/fixunsxfsi.c |
 | compiler-rt/utils/generate_netbsd_syscalls.awk |
 | compiler-rt/lib/sanitizer_common/sanitizer_stacktrace.cpp |
 | compiler-rt/lib/sanitizer_common/sanitizer_stacktrace_sparc.cpp |
 | compiler-rt/lib/sanitizer_common/sanitizer_asm.h |
 | compiler-rt/test/tsan/custom_mutex0.cpp |
Commit
2aea581004d20dccd6aa8483704acec9a56e2345
by Dávid Bolvanský[NFC] Added testcase for PR48641
|
 | llvm/test/Transforms/SimplifyCFG/pr48641.ll |
Commit
9e06c767a4b66f600f77626807688e4a213a3242
by Dávid Bolvanský[NFC] Added testcase for PR39116
|
 | llvm/test/Transforms/PhaseOrdering/pr39116.ll |
Commit
66a54af96766ab635bc1a9fdaf2d568e3c46eb11
by nikita.ppv[WebAssembly] Support opaque pointers in AddMissingPrototypes
The change here is basically the same as in D108880: Rather than looking at bitcasts, look at calls and their function type. We still need to look through bitcasts to find those calls.
The change in llvm/test/CodeGen/WebAssembly/add-prototypes-conflict.ll is due to different visitation order. add-prototypes-opaque-ptrs.ll is a copy of add-prototypes.ll with -force-opaque-pointers.
Differential Revision: https://reviews.llvm.org/D109256
|
 | llvm/lib/Target/WebAssembly/WebAssemblyAddMissingPrototypes.cpp |
 | llvm/test/CodeGen/WebAssembly/add-prototypes-conflict.ll |
 | llvm/test/CodeGen/WebAssembly/add-prototypes-opaque-ptrs.ll |
Commit
d7444d9f41e34886d7d316659090ba6bf4d61cba
by koraq[libc++][format] Implement formatters.
This implements the initial version of the `std::formatter` class and its specializations. It also implements the following formatting functions: - `format` - `vformat` - `format_to` - `vformat_to` - `format_to_n` - `formatted_size`
All functions have a `char` and `wchar_t` version. Parsing the format-spec and using the parsed format-spec hasn't been implemented. The code isn't optimized, neither for speed, nor for size.
The goal is to have the rudimentary basics working, which can be used as a basis to improve upon. The formatters used in this commit are simple stubs that will be replaced by real formatters in later commits.
The formatters that are slated to be replaced in this patch series don't have an availability macro to avoid merge conflicts.
Note the formatter for `bool` uses `0` and `1` instead of "false" and "true". This will be fixed when the stub is replaced with a real formatter.
Implements parts of: - P0645 Text Formatting
Completes: - LWG3539 format_to must not copy models of output_iterator<const charT&>
Reviewed By: ldionne, #libc, vitaut
Differential Revision: https://reviews.llvm.org/D96664
|
 | libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.string.pass.cpp |
 | libcxx/test/std/utilities/format/format.functions/formatted_size.locale.pass.cpp |
 | libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.unsigned_integral.pass.cpp |
 | libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.signed_integral.pass.cpp |
 | libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.bool.pass.cpp |
 | libcxx/test/libcxx/utilities/format/format.arguments/format.arg/visit_format_arg.pass.cpp |
 | libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.c_string.pass.cpp |
 | libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.floating_point.pass.cpp |
 | libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.char.pass.cpp |
 | libcxx/test/std/utilities/format/format.functions/format_to.pass.cpp |
 | libcxx/test/std/utilities/format/format.arguments/format.arg/operator_bool.pass.cpp |
 | libcxx/test/std/utilities/format/format.functions/vformat_to.locale.pass.cpp |
 | libcxx/test/std/utilities/format/format.functions/vformat_to.pass.cpp |
 | libcxx/test/std/utilities/format/format.arguments/format.arg/visit_format_arg.pass.cpp |
 | libcxx/test/std/utilities/format/format.arguments/format.args/get.pass.cpp |
 | libcxx/test/libcxx/diagnostics/detail.headers/format/formatter.module.verify.cpp |
 | libcxx/test/std/utilities/format/format.functions/formatted_size.pass.cpp |
 | libcxx/test/std/utilities/format/format.functions/format_to_n.locale.pass.cpp |
 | libcxx/test/std/utilities/format/format.functions/format_tests.h |
 | libcxx/include/module.modulemap |
 | libcxx/include/__format/formatter.h |
 | libcxx/test/std/utilities/format/format.formatter/format.context/format.formatter.spec/formatter.const_char_array.pass.cpp |
 | libcxx/test/std/utilities/format/format.functions/format_to_n.pass.cpp |
 | libcxx/test/std/utilities/format/format.functions/vformat.pass.cpp |
 | libcxx/include/format |
 | libcxx/include/__format/format_string.h |
 | libcxx/test/libcxx/utilities/format/format.arguments/format.args/get.pass.cpp |
 | libcxx/include/CMakeLists.txt |
 | libcxx/test/std/utilities/format/format.functions/vformat.locale.pass.cpp |
 | libcxx/test/std/utilities/format/format.functions/format.pass.cpp |
 | libcxx/docs/ReleaseNotes.rst |
 | libcxx/test/std/utilities/format/format.functions/format.locale.pass.cpp |
 | libcxx/test/libcxx/diagnostics/detail.headers/format/format_string.module.verify.cpp |
 | libcxx/test/std/utilities/format/format.functions/format_to.locale.pass.cpp |
Commit
a1ea479f0aa22360d2b02b12de9c85d6320fec23
by llvmgnsyncbot[gn build] Port d7444d9f41e3
|
 | llvm/utils/gn/secondary/libcxx/include/BUILD.gn |
Commit
df2af9936ca096d5bfbf3395c661c2d5a354f673
by koraq[libc++][format] Add a CMake Unicode option.
This option is used to select between the format headers output column width option. This option should be independent of the locale setting. It's encouraged to default to Unicode unless the platform doesn't offer that option.
[format.string.std]/10 ``` For the purposes of width computation, a string is assumed to be in a locale-independent, implementation-defined encoding. Implementations should use a Unicode encoding on platforms capable of displaying Unicode ```
Reviewed By: #libc, ldionne, vitaut
Differential Revision: https://reviews.llvm.org/D103379
|
 | libcxx/utils/ci/buildkite-pipeline.yml |
 | libcxx/utils/libcxx/test/features.py |
 | libcxx/cmake/caches/Generic-no-unicode.cmake |
 | libcxx/docs/ReleaseNotes.rst |
 | libcxx/utils/ci/run-buildbot |
 | libcxx/CMakeLists.txt |