[all-commits] [llvm/llvm-project] 4c9166: [libc] Resolve multi-line comment error (#117636)

Caslyn Tonelli via All-commits all-commits at lists.llvm.org
Mon Nov 25 15:01:23 PST 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 4c91662a519705c2d0b6e002214a3e307f09b373
      https://github.com/llvm/llvm-project/commit/4c91662a519705c2d0b6e002214a3e307f09b373
  Author: Caslyn Tonelli <6718161+Caslyn at users.noreply.github.com>
  Date:   2024-11-25 (Mon, 25 Nov 2024)

  Changed paths:
    M libc/src/__support/common.h

  Log Message:
  -----------
  [libc] Resolve multi-line comment error (#117636)

gcc interprets a backslash '\\' as the last char before a new line as a
line continuation character, even in a comment context. This can produce
an "error: multi-line comment [-Werror=comment]".

This removes the line continuation so that the comment can compile with
gcc.



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