[all-commits] [llvm/llvm-project] 6b25ae: [ADT] Fix IWYU for hashing-adjacent files (#194297)

Fangrui Song via All-commits all-commits at lists.llvm.org
Mon Apr 27 01:45:48 PDT 2026


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 6b25ae4fed5f7bd75c2b1bc011aa3d5de3bd29c2
      https://github.com/llvm/llvm-project/commit/6b25ae4fed5f7bd75c2b1bc011aa3d5de3bd29c2
  Author: Fangrui Song <i at maskray.me>
  Date:   2026-04-27 (Mon, 27 Apr 2026)

  Changed paths:
    M clang-tools-extra/clangd/Config.h
    M clang/lib/StaticAnalyzer/Checkers/WebKit/PtrTypesSemantics.h
    M llvm/include/llvm/ADT/FoldingSet.h
    M llvm/include/llvm/ADT/STLExtras.h
    M llvm/include/llvm/ADT/StableHashing.h
    M llvm/include/llvm/ExecutionEngine/Orc/WaitingOnGraph.h
    M llvm/lib/Support/FoldingSet.cpp
    M llvm/unittests/Support/xxhashTest.cpp

  Log Message:
  -----------
  [ADT] Fix IWYU for hashing-adjacent files (#194297)

Add explicit includes so these files keep building after we trim
transitive includes from xxhash.h.

For example, FoldingSet.cpp calls llvm::uninitialized_copy, which is
declared in llvm/ADT/STLExtras.h and today reaches the file only
transitively.

Also drop the vestigial `#include "llvm/ADT/Hashing.h"` from
llvm/ADT/STLExtras.h — no name from Hashing.h is used there.



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