]> granicus.if.org Git - clang/commit
[clang] Update uses of DEBUG macro to LLVM_DEBUG.
authorNicola Zaghen <nicola.zaghen@imgtec.com>
Tue, 15 May 2018 13:30:56 +0000 (13:30 +0000)
committerNicola Zaghen <nicola.zaghen@imgtec.com>
Tue, 15 May 2018 13:30:56 +0000 (13:30 +0000)
commitff0626ea3cc5e75491876e1c58f7d31bdaf32577
treec4b84a568436b21489131b76eda4f59529383bd3
parentc56c870c0c91f79ccbc0e395009e4db65b2eb5e5
[clang] Update uses of DEBUG macro to LLVM_DEBUG.

The DEBUG() macro is very generic so it might clash with other projects.
The renaming was done as follows:
- 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

Explicitly avoided changing the strings in the clang-format tests.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@332350 91177308-0d34-0410-b5e6-96231b3b80d8
27 files changed:
lib/AST/ExprConstant.cpp
lib/Analysis/BodyFarm.cpp
lib/CodeGen/ObjectFilePCHContainerOperations.cpp
lib/Format/BreakableToken.cpp
lib/Format/ContinuationIndenter.cpp
lib/Format/Format.cpp
lib/Format/SortJavaScriptImports.cpp
lib/Format/TokenAnalyzer.cpp
lib/Format/TokenAnnotator.cpp
lib/Format/UnwrappedLineFormatter.cpp
lib/Format/UnwrappedLineParser.cpp
lib/Format/UsingDeclarationsSorter.cpp
lib/StaticAnalyzer/Core/CallEvent.cpp
lib/StaticAnalyzer/Core/MemRegion.cpp
lib/Tooling/Tooling.cpp
unittests/Format/FormatTest.cpp
unittests/Format/FormatTestComments.cpp
unittests/Format/FormatTestJS.cpp
unittests/Format/FormatTestJava.cpp
unittests/Format/FormatTestObjC.cpp
unittests/Format/FormatTestProto.cpp
unittests/Format/FormatTestRawStrings.cpp
unittests/Format/FormatTestSelective.cpp
unittests/Format/FormatTestTextProto.cpp
unittests/Format/NamespaceEndCommentsFixerTest.cpp
unittests/Format/UsingDeclarationsSorterTest.cpp
unittests/libclang/LibclangTest.cpp