summaryrefslogtreecommitdiffstats
path: root/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
diff options
context:
space:
mode:
authorDan Gohman <gohman@apple.com>2010-08-04 01:39:08 +0000
committerDan Gohman <gohman@apple.com>2010-08-04 01:39:08 +0000
commit5cae10339208cdf484d67df5d65995a5338f097d (patch)
treeaa1809bd8db3fbbd47b39ea9e7bfacd564937a07 /llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
parent839c97210251da6dee4083b09b75f00f99aad424 (diff)
downloadbcm5719-llvm-5cae10339208cdf484d67df5d65995a5338f097d.tar.gz
bcm5719-llvm-5cae10339208cdf484d67df5d65995a5338f097d.zip
Eliminate unnecessary empty string literals.
llvm-svn: 110183
Diffstat (limited to 'llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp')
-rw-r--r--llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
index 6cae804422c..8313de5e32b 100644
--- a/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
+++ b/llvm/lib/CodeGen/SelectionDAG/SelectionDAGPrinter.cpp
@@ -199,7 +199,7 @@ const std::string SelectionDAG::getGraphAttrs(const SDNode *N) const {
#else
errs() << "SelectionDAG::getGraphAttrs is only available in debug builds"
<< " on systems with Graphviz or gv!\n";
- return std::string("");
+ return std::string();
#endif
}
OpenPOWER on IntegriCloud