[all-commits] [llvm/llvm-project] a9329a: Adjust #pragma warning so GCC is not unhappy

Roger Ferrer Ibáñez via All-commits all-commits at lists.llvm.org
Mon Feb 13 02:10:43 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: a9329a96ada35b1b5439da4e29eed7db10ff813b
      https://github.com/llvm/llvm-project/commit/a9329a96ada35b1b5439da4e29eed7db10ff813b
  Author: Roger Ferrer Ibanez <roger.ferrer at bsc.es>
  Date:   2023-02-13 (Mon, 13 Feb 2023)

  Changed paths:
    M llvm/include/llvm/Support/Host.h

  Log Message:
  -----------
  Adjust #pragma warning so GCC is not unhappy

In d768bf994f508d7eaf9541a568be3d71096febf5 a warning to help
transitioning was added to llvm/Support/Host.h but it includes extra
parentheses which make GCC unhappy (clang seems to accept them fine).

This change removes the parentheses around the string literal.

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




More information about the All-commits mailing list