[PATCH] D44976: Change DEBUG() macro to LLVM_DEBUG() in clang-tools-extra

Nicola Zaghen via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Mar 28 03:37:34 PDT 2018


Nicola created this revision.
Herald added subscribers: cfe-commits, ioeric.

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:
  rCTE Clang Tools Extra

https://reviews.llvm.org/D44976

Files:
  clang-move/ClangMove.cpp
  clang-move/HelperDeclRefGraph.cpp
  clang-tidy/ClangTidyOptions.cpp
  clang-tidy/readability/IdentifierNamingCheck.cpp
  include-fixer/IncludeFixer.cpp
  include-fixer/SymbolIndexManager.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D44976.140056.patch
Type: text/x-patch
Size: 10186 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180328/796ded11/attachment.bin>


More information about the cfe-commits mailing list