Update for LLVM API changes.

llvm-svn: 74085
This commit is contained in:
Owen Anderson 2009-06-24 17:37:55 +00:00
parent b70adf2b92
commit 4d9e93c420
3 changed files with 6 additions and 3 deletions

View File

@ -1887,7 +1887,8 @@ void CFG::viewCFG() const {
namespace llvm {
template<>
struct DOTGraphTraits<const CFG*> : public DefaultDOTGraphTraits {
static std::string getNodeLabel(const CFGBlock* Node, const CFG* Graph) {
static std::string getNodeLabel(const CFGBlock* Node, const CFG* Graph,
bool ShortNames) {
#ifndef NDEBUG
std::string OutSStr;

View File

@ -31,7 +31,8 @@ void Stmt::viewAST() const {
namespace llvm {
template<>
struct DOTGraphTraits<const Stmt*> : public DefaultDOTGraphTraits {
static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph) {
static std::string getNodeLabel(const Stmt* Node, const Stmt* Graph,
bool ShortNames) {
#ifndef NDEBUG
std::string OutSStr;

View File

@ -3156,7 +3156,8 @@ struct VISIBILITY_HIDDEN DOTGraphTraits<GRExprEngine::NodeTy*> :
return "";
}
static std::string getNodeLabel(const GRExprEngine::NodeTy* N, void*) {
static std::string getNodeLabel(const GRExprEngine::NodeTy* N, void*,
bool ShortNames) {
std::ostringstream Out;
// Program Location.