diff options
author | Craig Topper <craig.topper@gmail.com> | 2014-05-22 04:46:25 +0000 |
---|---|---|
committer | Craig Topper <craig.topper@gmail.com> | 2014-05-22 04:46:25 +0000 |
commit | 49a2790fb329c5cf27d9735b97ef70a6760921e4 (patch) | |
tree | a27dc484a06e2a4559f88a7939e40fd4ad01b80f /clang/lib/Frontend/DependencyGraph.cpp | |
parent | c3a73c30877fdc754e499a529fc97325dc28332a (diff) | |
download | bcm5719-llvm-49a2790fb329c5cf27d9735b97ef70a6760921e4.tar.gz bcm5719-llvm-49a2790fb329c5cf27d9735b97ef70a6760921e4.zip |
[C++11] Use 'nullptr'. Frontend edition.
llvm-svn: 209389
Diffstat (limited to 'clang/lib/Frontend/DependencyGraph.cpp')
-rw-r--r-- | clang/lib/Frontend/DependencyGraph.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/clang/lib/Frontend/DependencyGraph.cpp b/clang/lib/Frontend/DependencyGraph.cpp index 4bff3dba9e4..051b7f9e141 100644 --- a/clang/lib/Frontend/DependencyGraph.cpp +++ b/clang/lib/Frontend/DependencyGraph.cpp @@ -79,7 +79,7 @@ void DependencyGraphCallback::InclusionDirective(SourceLocation HashLoc, SourceManager &SM = PP->getSourceManager(); const FileEntry *FromFile = SM.getFileEntryForID(SM.getFileID(SM.getExpansionLoc(HashLoc))); - if (FromFile == 0) + if (!FromFile) return; Dependencies[FromFile].push_back(File); |