projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Add dump method for debugging.
[oota-llvm.git]
/
include
/
llvm
/
Metadata.h
diff --git
a/include/llvm/Metadata.h
b/include/llvm/Metadata.h
index 887e33c7a18180cd6f456509ea02e170f326cf7d..59b4b2619629ee9cd33bc378c11e442126435fa8 100644
(file)
--- a/
include/llvm/Metadata.h
+++ b/
include/llvm/Metadata.h
@@
-225,6
+225,9
@@
public:
/// print - Implement operator<< on NamedMDNode.
void print(raw_ostream &ROS, AssemblyAnnotationWriter *AAW = 0) const;
+
+ /// dump() - Allow printing of NamedMDNodes from the debugger.
+ void dump() const;
};
} // end llvm namespace