]> granicus.if.org Git - llvm/commit
[DebugCounter] Move the semicolon out of the DEBUG_COUNTER macro and require it to...
authorCraig Topper <craig.topper@intel.com>
Thu, 10 Aug 2017 17:48:11 +0000 (17:48 +0000)
committerCraig Topper <craig.topper@intel.com>
Thu, 10 Aug 2017 17:48:11 +0000 (17:48 +0000)
commitebdb044915df960f78ddd76943e3b3a4dab68268
treec642508536af786daa2792bf1497dc5768a31f54
parent01823a62a4a150698e097483d1a465812c937279
[DebugCounter] Move the semicolon out of the DEBUG_COUNTER macro and require it to be placed at the end of each use.

This make it consistent with STATISTIC which it will often appears near.

While there move one DEBUG_COUNTER instance out of an anonymous namespace. It's already declaring a static variable so the namespace is unnecessary.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@310637 91177308-0d34-0410-b5e6-96231b3b80d8
docs/ProgrammersManual.rst
include/llvm/Support/DebugCounter.h
lib/Transforms/Scalar/NewGVN.cpp
lib/Transforms/Utils/PredicateInfo.cpp