Remove C++11-isms I just introduced in r167482

llvm-svn: 167483
This commit is contained in:
Douglas Gregor 2012-11-06 19:41:11 +00:00
parent 9194a91dc9
commit 162405da9b
1 changed files with 3 additions and 3 deletions

View File

@ -1507,7 +1507,7 @@ void ModuleMapParser::parseInferredModuleDecl(bool Framework, bool Explicit) {
case MMToken::ExcludeKeyword: {
if (ActiveModule) {
Diags.Report(Tok.getLocation(), diag::err_mmap_expected_inferred_member)
<< (ActiveModule != nullptr);
<< (ActiveModule != 0);
consumeToken();
break;
}
@ -1527,7 +1527,7 @@ void ModuleMapParser::parseInferredModuleDecl(bool Framework, bool Explicit) {
case MMToken::ExportKeyword:
if (!ActiveModule) {
Diags.Report(Tok.getLocation(), diag::err_mmap_expected_inferred_member)
<< (ActiveModule != nullptr);
<< (ActiveModule != 0);
consumeToken();
break;
}
@ -1547,7 +1547,7 @@ void ModuleMapParser::parseInferredModuleDecl(bool Framework, bool Explicit) {
case MMToken::UmbrellaKeyword:
default:
Diags.Report(Tok.getLocation(), diag::err_mmap_expected_inferred_member)
<< (ActiveModule != nullptr);
<< (ActiveModule != 0);
consumeToken();
break;
}