mirror of
https://github.com/llvm/llvm-project.git
synced 2025-04-26 04:36:07 +00:00
Update for LLVM API changes.
llvm-svn: 74085
This commit is contained in:
parent
b70adf2b92
commit
4d9e93c420
@ -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;
|
||||
|
@ -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;
|
||||
|
@ -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.
|
||||
|
Loading…
x
Reference in New Issue
Block a user