[cfe-commits] r43785 - /cfe/trunk/Driver/SerializationTest.cpp
Ted Kremenek
kremenek at apple.com
Tue Nov 6 14:23:03 PST 2007
Author: kremenek
Date: Tue Nov 6 16:23:03 2007
New Revision: 43785
URL: http://llvm.org/viewvc/llvm-project?rev=43785&view=rev
Log:
Bug fix: inverted test condition to see if a serialized AST-bitcode
file had the correct preamble.
Modified:
cfe/trunk/Driver/SerializationTest.cpp
Modified: cfe/trunk/Driver/SerializationTest.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/Driver/SerializationTest.cpp?rev=43785&r1=43784&r2=43785&view=diff
==============================================================================
--- cfe/trunk/Driver/SerializationTest.cpp (original)
+++ cfe/trunk/Driver/SerializationTest.cpp Tue Nov 6 16:23:03 2007
@@ -188,7 +188,7 @@
llvm::BitstreamReader Stream(BufPtr,BufPtr+MBuffer->getBufferSize());
// Sniff for the signature in the bitcode file.
- if (!ReadPremable(Stream)) {
+ if (ReadPremable(Stream)) {
llvm::cerr << "ERROR: Invalid AST-bitcode signature.\n";
return;
}
More information about the cfe-commits
mailing list