forked from OSchip/llvm-project
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
This commit is contained in:
parent
f2e8397b4b
commit
2b1ba48f8d
|
@ -268,6 +268,8 @@ public:
|
||||||
} // end anonymous namespace.
|
} // end anonymous namespace.
|
||||||
|
|
||||||
namespace llvm {
|
namespace llvm {
|
||||||
|
raw_ostream &operator<<(raw_ostream &OS, const LVILatticeVal &Val)
|
||||||
|
LLVM_ATTRIBUTE_USED;
|
||||||
raw_ostream &operator<<(raw_ostream &OS, const LVILatticeVal &Val) {
|
raw_ostream &operator<<(raw_ostream &OS, const LVILatticeVal &Val) {
|
||||||
if (Val.isUndefined())
|
if (Val.isUndefined())
|
||||||
return OS << "undefined";
|
return OS << "undefined";
|
||||||
|
|
|
@ -388,6 +388,9 @@ namespace llvm {
|
||||||
ftEntryTypeBuilder;
|
ftEntryTypeBuilder;
|
||||||
|
|
||||||
// BallLarusEdge << operator overloading
|
// BallLarusEdge << operator overloading
|
||||||
|
raw_ostream& operator<<(raw_ostream& os,
|
||||||
|
const BLInstrumentationEdge& edge)
|
||||||
|
LLVM_ATTRIBUTE_USED;
|
||||||
raw_ostream& operator<<(raw_ostream& os,
|
raw_ostream& operator<<(raw_ostream& os,
|
||||||
const BLInstrumentationEdge& edge) {
|
const BLInstrumentationEdge& edge) {
|
||||||
os << "[" << edge.getSource()->getName() << " -> "
|
os << "[" << edge.getSource()->getName() << " -> "
|
||||||
|
|
Loading…
Reference in New Issue