浏览代码

Unbreak last commit. This should have been part of r98478.

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@98480 91177308-0d34-0410-b5e6-96231b3b80d8
Kovarththanan Rajaratnam 15 年之前
父节点
当前提交
2e6051ad01
共有 1 个文件被更改,包括 3 次插入3 次删除
  1. 3 3
      lib/Frontend/CacheTokens.cpp

+ 3 - 3
lib/Frontend/CacheTokens.cpp

@@ -446,9 +446,9 @@ void PTHWriter::GeneratePTH(const std::string &MainFile) {
     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);