[all-commits] [llvm/llvm-project] bed625: [MC, ELF] Emit warning if a string constant contain...

Dmitriy Chestnykh via All-commits all-commits at lists.llvm.org
Tue Jul 16 16:34:47 PDT 2024


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: bed625b0ad6722e1d29a3ea492dda173eee541dd
      https://github.com/llvm/llvm-project/commit/bed625b0ad6722e1d29a3ea492dda173eee541dd
  Author: Dmitriy Chestnykh <dm.chestnykh at gmail.com>
  Date:   2024-07-17 (Wed, 17 Jul 2024)

  Changed paths:
    M llvm/lib/MC/MCParser/AsmLexer.cpp
    M llvm/lib/MC/MCParser/AsmParser.cpp
    A llvm/test/MC/ELF/warn-newline-in-escaped-string.s

  Log Message:
  -----------
  [MC,ELF] Emit warning if a string constant contains newline char (#98060)

GAS emits warning about newline in the string constant so make the same
behaviour.



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