[llvm] r238180 - [TableGen] Include header for each cpp file first. NFC
Craig Topper
craig.topper at gmail.com
Mon May 25 23:48:46 PDT 2015
Author: ctopper
Date: Tue May 26 01:48:46 2015
New Revision: 238180
URL: http://llvm.org/viewvc/llvm-project?rev=238180&view=rev
Log:
[TableGen] Include header for each cpp file first. NFC
Modified:
llvm/trunk/lib/TableGen/Main.cpp
llvm/trunk/lib/TableGen/SetTheory.cpp
llvm/trunk/lib/TableGen/TableGenBackend.cpp
Modified: llvm/trunk/lib/TableGen/Main.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/TableGen/Main.cpp?rev=238180&r1=238179&r2=238180&view=diff
==============================================================================
--- llvm/trunk/lib/TableGen/Main.cpp (original)
+++ llvm/trunk/lib/TableGen/Main.cpp Tue May 26 01:48:46 2015
@@ -15,13 +15,13 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/TableGen/Main.h"
#include "TGParser.h"
#include "llvm/Support/CommandLine.h"
#include "llvm/Support/FileSystem.h"
#include "llvm/Support/MemoryBuffer.h"
#include "llvm/Support/ToolOutputFile.h"
#include "llvm/TableGen/Error.h"
-#include "llvm/TableGen/Main.h"
#include "llvm/TableGen/Record.h"
#include <algorithm>
#include <cstdio>
Modified: llvm/trunk/lib/TableGen/SetTheory.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/TableGen/SetTheory.cpp?rev=238180&r1=238179&r2=238180&view=diff
==============================================================================
--- llvm/trunk/lib/TableGen/SetTheory.cpp (original)
+++ llvm/trunk/lib/TableGen/SetTheory.cpp Tue May 26 01:48:46 2015
@@ -12,10 +12,10 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/TableGen/SetTheory.h"
#include "llvm/Support/Format.h"
#include "llvm/TableGen/Error.h"
#include "llvm/TableGen/Record.h"
-#include "llvm/TableGen/SetTheory.h"
using namespace llvm;
Modified: llvm/trunk/lib/TableGen/TableGenBackend.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/TableGen/TableGenBackend.cpp?rev=238180&r1=238179&r2=238180&view=diff
==============================================================================
--- llvm/trunk/lib/TableGen/TableGenBackend.cpp (original)
+++ llvm/trunk/lib/TableGen/TableGenBackend.cpp Tue May 26 01:48:46 2015
@@ -11,10 +11,9 @@
//
//===----------------------------------------------------------------------===//
+#include "llvm/TableGen/TableGenBackend.h"
#include "llvm/ADT/Twine.h"
#include "llvm/Support/raw_ostream.h"
-#include "llvm/TableGen/TableGenBackend.h"
-#include <algorithm>
using namespace llvm;
More information about the llvm-commits
mailing list