[llvm-commits] [llvm] r171405 - /llvm/trunk/include/llvm/Support/TimeValue.h

Argyrios Kyrtzidis akyrtzi at gmail.com
Wed Jan 2 11:42:56 PST 2013


Author: akirtzidis
Date: Wed Jan  2 13:42:53 2013
New Revision: 171405

URL: http://llvm.org/viewvc/llvm-project?rev=171405&view=rev
Log:
Don't #include stuff outside the include guards.

This defeats the include-guard optimization when parsing.

Modified:
    llvm/trunk/include/llvm/Support/TimeValue.h

Modified: llvm/trunk/include/llvm/Support/TimeValue.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/Support/TimeValue.h?rev=171405&r1=171404&r2=171405&view=diff
==============================================================================
--- llvm/trunk/include/llvm/Support/TimeValue.h (original)
+++ llvm/trunk/include/llvm/Support/TimeValue.h Wed Jan  2 13:42:53 2013
@@ -11,12 +11,12 @@
 //
 //===----------------------------------------------------------------------===//
 
-#include "llvm/Support/DataTypes.h"
-#include <string>
-
 #ifndef LLVM_SYSTEM_TIMEVALUE_H
 #define LLVM_SYSTEM_TIMEVALUE_H
 
+#include "llvm/Support/DataTypes.h"
+#include <string>
+
 namespace llvm {
 namespace sys {
   /// This class is used where a precise fixed point in time is required. The





More information about the llvm-commits mailing list