[cfe-commits] r98480 - /cfe/trunk/lib/Frontend/CacheTokens.cpp

Kovarththanan Rajaratnam kovarththanan.rajaratnam at gmail.com
Sat Mar 13 23:55:44 PST 2010


Author: krj
Date: Sun Mar 14 01:55:43 2010
New Revision: 98480

URL: http://llvm.org/viewvc/llvm-project?rev=98480&view=rev
Log:
Unbreak last commit. This should have been part of r98478.

Modified:
    cfe/trunk/lib/Frontend/CacheTokens.cpp

Modified: cfe/trunk/lib/Frontend/CacheTokens.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Frontend/CacheTokens.cpp?rev=98480&r1=98479&r2=98480&view=diff
==============================================================================
--- cfe/trunk/lib/Frontend/CacheTokens.cpp (original)
+++ cfe/trunk/lib/Frontend/CacheTokens.cpp Sun Mar 14 01:55:43 2010
@@ -446,9 +446,9 @@
     Emit32(0);
 
   // Write the name of the MainFile.
-  if (!MainFile->empty()) {
-    Emit16(MainFile->length());
-    EmitBuf(MainFile->data(), MainFile->length());
+  if (!MainFile.empty()) {
+    Emit16(MainFile.length());
+    EmitBuf(MainFile.data(), MainFile.length());
   } else {
     // String with 0 bytes.
     Emit16(0);





More information about the cfe-commits mailing list