[cfe-commits] r38659 - /cfe/cfe/trunk/Driver/PrintPreprocessedOutput.cpp

sabre at cs.uiuc.edu sabre at cs.uiuc.edu
Wed Jul 11 09:23:35 PDT 2007


Author: sabre
Date: Wed Jul 11 11:23:35 2007
New Revision: 38659

URL: http://llvm.org/viewvc/llvm-project?rev=38659&view=rev
Log:
minor cleanup

Modified:
    cfe/cfe/trunk/Driver/PrintPreprocessedOutput.cpp

Modified: cfe/cfe/trunk/Driver/PrintPreprocessedOutput.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/cfe/trunk/Driver/PrintPreprocessedOutput.cpp?rev=38659&r1=38658&r2=38659&view=diff

==============================================================================
--- cfe/cfe/trunk/Driver/PrintPreprocessedOutput.cpp (original)
+++ cfe/cfe/trunk/Driver/PrintPreprocessedOutput.cpp Wed Jul 11 11:23:35 2007
@@ -144,6 +144,7 @@
     std::cout << ' ';
 }
 
+namespace {
 struct UnknownPragmaHandler : public PragmaHandler {
   const char *Prefix;
   UnknownPragmaHandler(const char *prefix) : PragmaHandler(0), Prefix(prefix) {}
@@ -163,7 +164,7 @@
     std::cout << "\n";
   }
 };
-
+} // end anonymous namespace
 
 /// DoPrintPreprocessedInput - This implements -E mode.
 void clang::DoPrintPreprocessedInput(Preprocessor &PP) {





More information about the cfe-commits mailing list