[all-commits] [llvm/llvm-project] d1fdd7: Re-introduce `copts` hacks for lib/AST includes.

Chandler Carruth via All-commits all-commits at lists.llvm.org
Mon Nov 1 17:31:28 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d1fdd745d510f40d8741d44ce39f5ae24ee7f91a
      https://github.com/llvm/llvm-project/commit/d1fdd745d510f40d8741d44ce39f5ae24ee7f91a
  Author: Chandler Carruth <chandlerc at gmail.com>
  Date:   2021-11-02 (Tue, 02 Nov 2021)

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

  Log Message:
  -----------
  Re-introduce `copts` hacks for lib/AST includes.

Sadly, these are necessary AFAICT. There is a file `lib/AST/CXXABI.h`.
On case insensitive file systems like macOS this will collide with
`cxxabi.h` on the system if we use the `includes` trick to allow
file-relative `#include` of generated files.

I've tested this on both Linux and Windows to make sure it remains
reasonably portable.

Differential Revision: https://reviews.llvm.org/D112883




More information about the All-commits mailing list