forked from OSchip/llvm-project
[SelectionDAG] Drop unnecessary const from a return type (NFC)
Identified with const-return-type.
This commit is contained in:
parent
5229edd667
commit
7b9f6c2d42
|
@ -487,7 +487,7 @@ public:
|
|||
|
||||
/// Get graph attributes for a node. (eg. "color=red".)
|
||||
/// Used from getNodeAttributes.
|
||||
const std::string getGraphAttrs(const SDNode *N) const;
|
||||
std::string getGraphAttrs(const SDNode *N) const;
|
||||
|
||||
/// Convenience for setting node color attribute.
|
||||
void setGraphColor(const SDNode *N, const char *Color);
|
||||
|
|
|
@ -204,7 +204,7 @@ void SelectionDAG::setGraphAttrs(const SDNode *N, const char *Attrs) {
|
|||
|
||||
/// getGraphAttrs - Get graph attributes for a node. (eg. "color=red".)
|
||||
/// Used from getNodeAttributes.
|
||||
const std::string SelectionDAG::getGraphAttrs(const SDNode *N) const {
|
||||
std::string SelectionDAG::getGraphAttrs(const SDNode *N) const {
|
||||
#ifndef NDEBUG
|
||||
std::map<const SDNode *, std::string>::const_iterator I =
|
||||
NodeGraphAttrs.find(N);
|
||||
|
|
Loading…
Reference in New Issue