[PATCH] D44978: Change DEBUG() macro to LLVM_DEBUG() in Polly

Nicola Zaghen via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 28 03:39:40 PDT 2018


Nicola created this revision.
Herald added subscribers: llvm-commits, aheejin, sbc100.
Herald added a reviewer: bollu.

The DEBUG() macro is too generic so it might clash with other projects.
This is going to be deprecated and replaced by LLVM_DEBUG() as soon as https://reviews.llvm.org/D43624 is submitted.

This is the command I used to do the replacement and formatting:
git grep -l 'DEBUG' | xargs sed -i 's/\bDEBUG\s\?(/LLVM_DEBUG(/g'
git diff -U0 master | ../clang/tools/clang-format/clang-format-diff.py -i -p1 -style LLVM


Repository:
  rPLO Polly

https://reviews.llvm.org/D44978

Files:
  lib/Driver/DarwinLdDriver.cpp
  lib/ReaderWriter/MachO/CompactUnwindPass.cpp
  lib/ReaderWriter/MachO/LayoutPass.cpp
  lib/ReaderWriter/MachO/MachONormalizedFileToAtoms.cpp
  wasm/InputChunks.cpp
  wasm/InputFiles.cpp
  wasm/MarkLive.cpp
  wasm/SymbolTable.cpp
  wasm/Symbols.cpp
  wasm/Writer.cpp
  wasm/WriterUtils.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44978.140059.patch
Type: text/x-patch
Size: 27325 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20180328/5bd72453/attachment-0001.bin>


More information about the llvm-commits mailing list