[cfe-commits] r48485 - in /cfe/trunk/lib/Lex: PPMacroExpansion.cpp Preprocessor.cpp
Chris Lattner
sabre at nondot.org
Mon Mar 17 22:59:11 PDT 2008
Author: lattner
Date: Tue Mar 18 00:59:11 2008
New Revision: 48485
URL: http://llvm.org/viewvc/llvm-project?rev=48485&view=rev
Log:
move #include to the file that needs it.
Modified:
cfe/trunk/lib/Lex/PPMacroExpansion.cpp
cfe/trunk/lib/Lex/Preprocessor.cpp
Modified: cfe/trunk/lib/Lex/PPMacroExpansion.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/PPMacroExpansion.cpp?rev=48485&r1=48484&r2=48485&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/PPMacroExpansion.cpp (original)
+++ cfe/trunk/lib/Lex/PPMacroExpansion.cpp Tue Mar 18 00:59:11 2008
@@ -18,6 +18,7 @@
#include "clang/Basic/SourceManager.h"
#include "clang/Basic/FileManager.h"
#include "clang/Basic/Diagnostic.h"
+#include <ctime>
using namespace clang;
/// setMacroInfo - Specify a macro for this identifier.
Modified: cfe/trunk/lib/Lex/Preprocessor.cpp
URL: http://llvm.org/viewvc/llvm-project/cfe/trunk/lib/Lex/Preprocessor.cpp?rev=48485&r1=48484&r2=48485&view=diff
==============================================================================
--- cfe/trunk/lib/Lex/Preprocessor.cpp (original)
+++ cfe/trunk/lib/Lex/Preprocessor.cpp Tue Mar 18 00:59:11 2008
@@ -36,7 +36,6 @@
#include "llvm/ADT/SmallVector.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/Streams.h"
-#include <ctime>
using namespace clang;
//===----------------------------------------------------------------------===//
More information about the cfe-commits
mailing list