[all-commits] [llvm/llvm-project] 215dbc: [bazel] Enable header processing for C++ builds. (...

Alexey Samsonov via All-commits all-commits at lists.llvm.org
Wed May 7 22:18:26 PDT 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 215dbcb2bc5c1b1bc8775db2a7c22f67f3949fd7
      https://github.com/llvm/llvm-project/commit/215dbcb2bc5c1b1bc8775db2a7c22f67f3949fd7
  Author: Alexey Samsonov <vonosmas at gmail.com>
  Date:   2025-05-07 (Wed, 07 May 2025)

  Changed paths:
    M utils/bazel/.bazelrc

  Log Message:
  -----------
  [bazel] Enable header processing for C++ builds. (#138934)

This would only work for projects that explicitly enable "parse_headers"
feature (or for builds that specify this on command-line) - right now
there are none, so this change shouldn't affect most builds. When
"parse_headers" is enabled though, it would catch problems of
incorrect/missing includes in header-only cc_libraries.

See https://bazel.build/docs/bazel-and-cpp#toolchain-features on why
this option is a best practice for C++ projects.



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