[all-commits] [llvm/llvm-project] 1fbe5f: scudo/standalone: prepare for enabling format stri...

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Fri Aug 13 04:45:42 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 1fbe5fb81c80ebd481430cbe0b457d3726329b29
      https://github.com/llvm/llvm-project/commit/1fbe5fb81c80ebd481430cbe0b457d3726329b29
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-08-13 (Fri, 13 Aug 2021)

  Changed paths:
    M compiler-rt/lib/scudo/standalone/CMakeLists.txt
    M compiler-rt/lib/scudo/standalone/string_utils.cpp
    M compiler-rt/lib/scudo/standalone/string_utils.h
    M compiler-rt/lib/scudo/standalone/tests/CMakeLists.txt

  Log Message:
  -----------
  scudo/standalone: prepare for enabling format string checking

Move __attribute__((format)) to the function declarations in the header file.
It's almost pointless in the source file.
But disable the warning  with -Wno-format for now
since there is a number of existing warnings.

Depends on D107984.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list