[all-commits] [llvm/llvm-project] 35ab6d: [OpenMP][Tests][NFC] rename macro to avoid naming ...

Joachim via All-commits all-commits at lists.llvm.org
Wed Feb 24 09:04:19 PST 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 35ab6d6390ecd285041590c00bac71a00e86aede
      https://github.com/llvm/llvm-project/commit/35ab6d6390ecd285041590c00bac71a00e86aede
  Author: Joachim Protze <protze at itc.rwth-aachen.de>
  Date:   2021-02-24 (Wed, 24 Feb 2021)

  Changed paths:
    M openmp/runtime/test/ompt/callback.h
    M openmp/runtime/test/ompt/parallel/repeated_calls.c
    M openmp/runtime/test/ompt/synchronization/barrier/implicit_task_data.c
    M openmp/runtime/test/ompt/synchronization/master.c
    M openmp/runtime/test/ompt/tasks/task_memory.c

  Log Message:
  -----------
  [OpenMP][Tests][NFC] rename macro to avoid naming clash

When including <ostream>, the register_callback macro of the OMPT callback.h
clashes with a function defined in ostream. This patch renames the macro
and includes ompt into the macro name.




More information about the All-commits mailing list