projects
/
oota-llvm.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
LoopVectorize: Vectorize all accesses in address space zero with unit stride
[oota-llvm.git]
/
lib
/
Support
/
SourceMgr.cpp
diff --git
a/lib/Support/SourceMgr.cpp
b/lib/Support/SourceMgr.cpp
index fac3cad5cc2569ec221e2ed0e38754285303c33d..4f650b42cce77c1448aff344134d88d3ceb52399 100644
(file)
--- a/
lib/Support/SourceMgr.cpp
+++ b/
lib/Support/SourceMgr.cpp
@@
-65,7
+65,7
@@
unsigned SourceMgr::AddIncludeFile(const std::string &Filename,
MemoryBuffer::getFile(IncludedFile.c_str(), NewBuf);
}
- if (
NewBuf == 0
) return ~0U;
+ if (
!NewBuf
) return ~0U;
return AddNewSourceBuffer(NewBuf.take(), IncludeLoc);
}