forked from OSchip/llvm-project
Remove C++11-isms I just introduced in r167482
llvm-svn: 167483
This commit is contained in:
parent
9194a91dc9
commit
162405da9b
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue