summaryrefslogtreecommitdiff
path: root/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
commit3b55a372d4c457d65dadd9a04c2b2d310f1bab83 (patch)
tree8d1e11f186f341e52a49e9deb0c01602443fe238 /lib/Analysis/LazyValueInfo.cpp
parent57557155c91f360d5e8a51d0b0623ebdcca2e3be (diff)
downloadllvm-3b55a372d4c457d65dadd9a04c2b2d310f1bab83.tar.gz
llvm-3b55a372d4c457d65dadd9a04c2b2d310f1bab83.tar.bz2
llvm-3b55a372d4c457d65dadd9a04c2b2d310f1bab83.tar.xz
Mark some functions as used which are used within debug-only code. This
silences Clang's -Wunused-function when building in release mode. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@129709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Analysis/LazyValueInfo.cpp')
-rw-r--r--lib/Analysis/LazyValueInfo.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/Analysis/LazyValueInfo.cpp b/lib/Analysis/LazyValueInfo.cpp
index 9e7da6ce2d..8bde3cc284 100644
--- a/lib/Analysis/LazyValueInfo.cpp
+++ b/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";