summaryrefslogtreecommitdiffstats
path: root/lib/Support/IncludeFile.cpp
diff options
context:
space:
mode:
authorReid Spencer <rspencer@reidspencer.com>2006-06-07 20:00:19 +0000
committerReid Spencer <rspencer@reidspencer.com>2006-06-07 20:00:19 +0000
commit6df60a9effe4d20a48cfd9d105c0ab3c5dc3e690 (patch)
treed5e3f627411a59fbe751d3208a73c0ab053baee8 /lib/Support/IncludeFile.cpp
parent19fd7ef7300616aa245e15e73b435c9bd0c83de3 (diff)
downloadexternal_llvm-6df60a9effe4d20a48cfd9d105c0ab3c5dc3e690.zip
external_llvm-6df60a9effe4d20a48cfd9d105c0ab3c5dc3e690.tar.gz
external_llvm-6df60a9effe4d20a48cfd9d105c0ab3c5dc3e690.tar.bz2
For PR780:
Break the "IncludeFile" mechanism into its own header file and adjust other files accordingly. Use this facility for the IntrinsicInst problem which was the subject of PR800. More to follow on this. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@28709 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support/IncludeFile.cpp')
-rw-r--r--lib/Support/IncludeFile.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/lib/Support/IncludeFile.cpp b/lib/Support/IncludeFile.cpp
new file mode 100644
index 0000000..d472917
--- /dev/null
+++ b/lib/Support/IncludeFile.cpp
@@ -0,0 +1,20 @@
+//===- lib/Support/IncludeFile.cpp - Ensure Linking Of Implementation -----===//
+//
+// The LLVM Compiler Infrastructure
+//
+// This file was developed by Reid Spencer and is distributed under the
+// University of Illinois Open Source License. See LICENSE.TXT for details.
+//
+//===----------------------------------------------------------------------===//
+//
+// This file implements the IncludeFile constructor.
+//
+//===----------------------------------------------------------------------===//
+
+#include "llvm/Support/IncludeFile.h"
+
+using namespace llvm;
+
+// This constructor is used to ensure linking of other modules. See the
+// llvm/Support/IncludeFile.h header for details.
+IncludeFile::IncludeFile(void*) {}