[all-commits] [llvm/llvm-project] 3065cf: [bazel] Remove //clang:basic_internal_headers targ...

Jorge Gorbe Moya via All-commits all-commits at lists.llvm.org
Fri Jan 17 09:34:45 PST 2025


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 3065cf238ca3fddd74cba0bd660afe5fd4e7da03
      https://github.com/llvm/llvm-project/commit/3065cf238ca3fddd74cba0bd660afe5fd4e7da03
  Author: Jorge Gorbe Moya <jgorbe at google.com>
  Date:   2025-01-17 (Fri, 17 Jan 2025)

  Changed paths:
    M utils/bazel/llvm-project-overlay/clang/BUILD.bazel

  Log Message:
  -----------
  [bazel] Remove //clang:basic_internal_headers target (NFC) (#123230)

This target exists to allow `#include "Header.h"` for headers in
lib/Basic rather than using file-relative inclusion. This is rather
hacky and results in having two targets that claim the same headers.

Instead, we can pass a `-I` flag in the `copts` for //clang:basic, to
adjust the include path to keep those `#include "Header.h"` directives
working. There are other targets in this file already doing a similar
thing for generated files.



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