[C++11] Use 'nullptr'. Frontend edition.
llvm-svn: 209389
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user