diff options
author | Chris Lattner <sabre@nondot.org> | 2005-10-01 00:17:07 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2005-10-01 00:17:07 +0000 |
commit | 37345fe3cd2dd56c3711592a5af6c294c10c7aba (patch) | |
tree | 852900381fbf45e945eaad0d726f7ad6c6b93dc9 /include/llvm/Support/DOTGraphTraits.h | |
parent | 22f6212e9f1551c93a76f2ad8ea0e9688a3e3775 (diff) | |
download | external_llvm-37345fe3cd2dd56c3711592a5af6c294c10c7aba.zip external_llvm-37345fe3cd2dd56c3711592a5af6c294c10c7aba.tar.gz external_llvm-37345fe3cd2dd56c3711592a5af6c294c10c7aba.tar.bz2 |
add a method
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@23575 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'include/llvm/Support/DOTGraphTraits.h')
-rw-r--r-- | include/llvm/Support/DOTGraphTraits.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/include/llvm/Support/DOTGraphTraits.h b/include/llvm/Support/DOTGraphTraits.h index 02a5087..9300ea7 100644 --- a/include/llvm/Support/DOTGraphTraits.h +++ b/include/llvm/Support/DOTGraphTraits.h @@ -51,6 +51,12 @@ struct DefaultDOTGraphTraits { static std::string getNodeLabel(const void *Node, const void *Graph) { return ""; } + + /// hasNodeAddressLabel - If this method returns true, the address of the node + /// is added to the label of the node. + static bool hasNodeAddressLabel(const void *Node, const void *Graph) { + return false; + } /// If you want to specify custom node attributes, this is the place to do so /// |