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.
|
||||
|
||||
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";
|
||||
|
|
|
@ -388,6 +388,9 @@ namespace llvm {
|
|||
ftEntryTypeBuilder;
|
||||
|
||||
// BallLarusEdge << operator overloading
|
||||
raw_ostream& operator<<(raw_ostream& os,
|
||||
const BLInstrumentationEdge& edge)
|
||||
LLVM_ATTRIBUTE_USED;
|
||||
raw_ostream& operator<<(raw_ostream& os,
|
||||
const BLInstrumentationEdge& edge) {
|
||||
os << "[" << edge.getSource()->getName() << " -> "
|
||||
|
|
Loading…
Reference in New Issue