]> granicus.if.org Git - clang/commitdiff
move #include to the file that needs it.
authorChris Lattner <sabre@nondot.org>
Tue, 18 Mar 2008 05:59:11 +0000 (05:59 +0000)
committerChris Lattner <sabre@nondot.org>
Tue, 18 Mar 2008 05:59:11 +0000 (05:59 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@48485 91177308-0d34-0410-b5e6-96231b3b80d8

lib/Lex/PPMacroExpansion.cpp
lib/Lex/Preprocessor.cpp

index 8218d0ac06eb26fa4137154b234de8aee2b2c794..c21f399e63d68f3318ac8b5b6a3f57508601f770 100644 (file)
@@ -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.
index 86156a07728ed8c3809aa4b2b26ffef53826d5f9..ebd307286600bfac91eab7cbd5713083e7ffad25 100644 (file)
@@ -36,7 +36,6 @@
 #include "llvm/ADT/SmallVector.h"
 #include "llvm/Support/MemoryBuffer.h"
 #include "llvm/Support/Streams.h"
-#include <ctime>
 using namespace clang;
 
 //===----------------------------------------------------------------------===//