diff options
author | Chris Lattner <sabre@nondot.org> | 2010-09-04 18:12:00 +0000 |
---|---|---|
committer | Chris Lattner <sabre@nondot.org> | 2010-09-04 18:12:00 +0000 |
commit | 65b48b5dfc6632816313272ce2e386389049b9ca (patch) | |
tree | 242db4fc1c6e50b59c8927796c4b6147ab76f38b /llvm/lib/Analysis/Lint.cpp | |
parent | 55118e722411d8081bca5d98c79193bce0925ca3 (diff) | |
download | bcm5719-llvm-65b48b5dfc6632816313272ce2e386389049b9ca.tar.gz bcm5719-llvm-65b48b5dfc6632816313272ce2e386389049b9ca.zip |
zap dead code.
llvm-svn: 113073
Diffstat (limited to 'llvm/lib/Analysis/Lint.cpp')
-rw-r--r-- | llvm/lib/Analysis/Lint.cpp | 22 |
1 files changed, 0 insertions, 22 deletions
diff --git a/llvm/lib/Analysis/Lint.cpp b/llvm/lib/Analysis/Lint.cpp index a9d972435f5..2310e530e6b 100644 --- a/llvm/lib/Analysis/Lint.cpp +++ b/llvm/lib/Analysis/Lint.cpp @@ -129,12 +129,6 @@ namespace { } } - void WriteType(const Type *T) { - if (!T) return; - MessagesStr << ' '; - WriteTypeSymbolic(MessagesStr, T, Mod); - } - // CheckFailed - A check failed, so print out the condition and the message // that failed. This provides a nice place to put a breakpoint if you want // to see why something is not correct. @@ -147,22 +141,6 @@ namespace { WriteValue(V3); WriteValue(V4); } - - void CheckFailed(const Twine &Message, const Value *V1, - const Type *T2, const Value *V3 = 0) { - MessagesStr << Message.str() << "\n"; - WriteValue(V1); - WriteType(T2); - WriteValue(V3); - } - - void CheckFailed(const Twine &Message, const Type *T1, - const Type *T2 = 0, const Type *T3 = 0) { - MessagesStr << Message.str() << "\n"; - WriteType(T1); - WriteType(T2); - WriteType(T3); - } }; } |