[all-commits] [llvm/llvm-project] e51e7e: [polly][NFC] removes using-directives to fix modul...

Christopher Di Bella via All-commits all-commits at lists.llvm.org
Tue Feb 15 10:58:45 PST 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: e51e7e7f44cf6cb94ba8afc97a00179c843cd15c
      https://github.com/llvm/llvm-project/commit/e51e7e7f44cf6cb94ba8afc97a00179c843cd15c
  Author: Christopher Di Bella <cjdb at google.com>
  Date:   2022-02-15 (Tue, 15 Feb 2022)

  Changed paths:
    M polly/lib/Support/PollyPasses.def
    M polly/lib/Support/RegisterPasses.cpp

  Log Message:
  -----------
  [polly][NFC] removes using-directives to fix modules build

When compiling with Clang modules enabled, polly's use of using-directives
caused the global object `Target` in RegisterPasses.cpp to clash with
`llvm::Target`. By eliminating the using-directives, we're able to get
polly to play nicely with a modules build.

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




More information about the All-commits mailing list