зеркало из https://github.com/microsoft/clang-1.git
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
This commit is contained in:
Родитель
74e485e74e
Коммит
2e6051ad01
|
@ -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);
|
||||
|
|
Загрузка…
Ссылка в новой задаче