[cfe-commits] r167483 - /cfe/trunk/lib/Lex/ModuleMap.cpp

Douglas Gregor dgregor at apple.com
Tue Nov 6 11:41:11 PST 2012


Author: dgregor
Date: Tue Nov  6 13:41:11 2012
New Revision: 167483

URL: http://llvm.org/viewvc/llvm-project?rev=167483&view=rev
Log:
Remove C++11-isms I just introduced in r167482

Modified:
    cfe/trunk/lib/Lex/ModuleMap.cpp

Modified: cfe/trunk/lib/Lex/ModuleMap.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/ModuleMap.cpp?rev=167483&r1=167482&r2=167483&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/ModuleMap.cpp (original)
+++ cfe/trunk/lib/Lex/ModuleMap.cpp Tue Nov  6 13:41:11 2012
@@ -1507,7 +1507,7 @@
     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 @@
     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 @@
     case MMToken::UmbrellaKeyword:
     default:
       Diags.Report(Tok.getLocation(), diag::err_mmap_expected_inferred_member)
-          << (ActiveModule != nullptr);
+          << (ActiveModule != 0);
       consumeToken();
       break;        
     }





More information about the cfe-commits mailing list