[all-commits] [llvm/llvm-project] 5e26fb: [libc++] Qualify calls to nullary functions like _...

Louis Dionne via All-commits all-commits at lists.llvm.org
Fri Feb 21 05:00:09 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 5e26fb169936ca1e24da6698ce895fec99af06c2
      https://github.com/llvm/llvm-project/commit/5e26fb169936ca1e24da6698ce895fec99af06c2
  Author: Louis Dionne <ldionne.2 at gmail.com>
  Date:   2025-02-21 (Fri, 21 Feb 2025)

  Changed paths:
    M libcxx/docs/CodingGuidelines.rst
    M libcxx/include/__algorithm/ranges_iterator_concept.h
    M libcxx/include/__algorithm/stable_sort.h
    M libcxx/include/__chrono/formatter.h
    M libcxx/include/__compare/common_comparison_category.h
    M libcxx/include/__condition_variable/condition_variable.h
    M libcxx/include/__filesystem/directory_entry.h
    M libcxx/include/__format/format_arg_store.h
    M libcxx/include/__functional/function.h
    M libcxx/include/__locale
    M libcxx/include/__locale_dir/support/windows.h
    M libcxx/include/__memory/allocator.h
    M libcxx/include/__memory/shared_ptr.h
    M libcxx/include/__memory_resource/polymorphic_allocator.h
    M libcxx/include/__mutex/unique_lock.h
    M libcxx/include/__ostream/basic_ostream.h
    M libcxx/include/__random/clamp_to_integral.h
    M libcxx/include/__ranges/elements_view.h
    M libcxx/include/__ranges/zip_view.h
    M libcxx/include/__thread/thread.h
    M libcxx/include/__type_traits/is_nothrow_convertible.h
    M libcxx/include/__vector/vector.h
    M libcxx/include/__vector/vector_bool.h
    M libcxx/include/any
    M libcxx/include/array
    M libcxx/include/bitset
    M libcxx/include/experimental/__simd/utility.h
    M libcxx/include/fstream
    M libcxx/include/future
    M libcxx/include/locale
    M libcxx/include/map
    M libcxx/include/optional
    M libcxx/include/regex
    M libcxx/include/set
    M libcxx/include/shared_mutex
    M libcxx/include/string
    M libcxx/include/string_view
    M libcxx/include/unordered_map
    M libcxx/include/variant
    M libcxx/src/chrono.cpp
    M libcxx/src/condition_variable.cpp
    M libcxx/src/filesystem/error.h
    M libcxx/src/filesystem/filesystem_clock.cpp
    M libcxx/src/future.cpp
    M libcxx/src/hash.cpp
    M libcxx/src/ios.cpp
    M libcxx/src/locale.cpp
    M libcxx/src/memory_resource.cpp
    M libcxx/src/mutex.cpp
    M libcxx/src/print.cpp
    M libcxx/src/random.cpp
    M libcxx/src/std_stream.h
    M libcxx/src/thread.cpp
    M libcxx/test/tools/clang_tidy_checks/CMakeLists.txt
    M libcxx/test/tools/clang_tidy_checks/libcpp_module.cpp
    R libcxx/test/tools/clang_tidy_checks/qualify_declval.cpp
    R libcxx/test/tools/clang_tidy_checks/qualify_declval.hpp
    M libcxx/test/tools/clang_tidy_checks/robust_against_adl.cpp

  Log Message:
  -----------
  [libc++] Qualify calls to nullary functions like __throw_foo (#122465)

This is technically not necessary in most cases to prevent issues with ADL,
but let's be consistent. This allows us to remove the libcpp-qualify-declval
clang-tidy check, which is now enforced by the robust-against-adl clang-tidy check.



To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications


More information about the All-commits mailing list