diff options
| author | Yaron Keren <yaron.keren@gmail.com> | 2016-01-29 20:50:44 +0000 |
|---|---|---|
| committer | Yaron Keren <yaron.keren@gmail.com> | 2016-01-29 20:50:44 +0000 |
| commit | eb2a25467e9ff2ef1976924957c0dfa31bda9e03 (patch) | |
| tree | c32c7925dbf37ea245a5e7b8b9028df73620a0e8 /llvm/lib/CodeGen/SelectionDAG | |
| parent | deec50a3d2339af731b42b5c9f7308f861acae5f (diff) | |
| download | bcm5719-llvm-eb2a25467e9ff2ef1976924957c0dfa31bda9e03.tar.gz bcm5719-llvm-eb2a25467e9ff2ef1976924957c0dfa31bda9e03.zip | |
Annotate dump() methods with LLVM_DUMP_METHOD, addressing Richard Smith r259192 post commit comment.
clang part in r259232, this is the LLVM part of the patch.
llvm-svn: 259240
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG')
| -rw-r--r-- | llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp index a1c6c4c1dd6..6555cccdbea 100644 --- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp +++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGDumper.cpp @@ -378,7 +378,7 @@ static Printable PrintNodeId(const SDNode &Node) { }); } -void SDNode::dump() const { dump(nullptr); } +LLVM_DUMP_METHOD void SDNode::dump() const { dump(nullptr); } void SDNode::dump(const SelectionDAG *G) const { print(dbgs(), G); dbgs() << '\n'; @@ -590,7 +590,7 @@ static void DumpNodes(const SDNode *N, unsigned indent, const SelectionDAG *G) { N->dump(G); } -void SelectionDAG::dump() const { +LLVM_DUMP_METHOD void SelectionDAG::dump() const { dbgs() << "SelectionDAG has " << AllNodes.size() << " nodes:\n"; for (allnodes_const_iterator I = allnodes_begin(), E = allnodes_end(); |

