summaryrefslogtreecommitdiffstats
path: root/llvm/lib/Analysis/LazyValueInfo.cpp
diff options
context:
space:
mode:
authorChandler Carruth <chandlerc@gmail.com>2011-04-18 18:49:44 +0000
committerChandler Carruth <chandlerc@gmail.com>2011-04-18 18:49:44 +0000
commit2b1ba48f8dac0b36980a7ae7da151c8590f1800e (patch)
treedf77cb96b91246917b0f721dc0ef41ac9fe02190 /llvm/lib/Analysis/LazyValueInfo.cpp
parentf2e8397b4b5cd1013fdc8773fa672887b09aa5e8 (diff)
downloadbcm5719-llvm-2b1ba48f8dac0b36980a7ae7da151c8590f1800e.tar.gz
bcm5719-llvm-2b1ba48f8dac0b36980a7ae7da151c8590f1800e.zip
Mark some functions as used which are used within debug-only code. This
silences Clang's -Wunused-function when building in release mode. llvm-svn: 129709
Diffstat (limited to 'llvm/lib/Analysis/LazyValueInfo.cpp')
-rw-r--r--llvm/lib/Analysis/LazyValueInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/Analysis/LazyValueInfo.cpp b/llvm/lib/Analysis/LazyValueInfo.cpp
index 9e7da6ce2de..8bde3cc2842 100644
--- a/llvm/lib/Analysis/LazyValueInfo.cpp
+++ b/llvm/lib/Analysis/LazyValueInfo.cpp
@@ -268,6 +268,8 @@ public:
} // end anonymous namespace.
namespace llvm {
+raw_ostream &operator<<(raw_ostream &OS, const LVILatticeVal &Val)
+ LLVM_ATTRIBUTE_USED;
raw_ostream &operator<<(raw_ostream &OS, const LVILatticeVal &Val) {
if (Val.isUndefined())
return OS << "undefined";
OpenPOWER on IntegriCloud