summaryrefslogtreecommitdiffstats
path: root/llvm/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
commit54cb2d853318496b9412bca7a1ed542934a0a509 (patch)
tree5b59473249a7cfb30967e3dfd93bfa2290fe151e /llvm/lib/Support/IncludeFile.cpp
parent5fc4f3328fd33bdfe89c4faf7e999518c80a8108 (diff)
downloadbcm5719-llvm-54cb2d853318496b9412bca7a1ed542934a0a509.tar.gz
bcm5719-llvm-54cb2d853318496b9412bca7a1ed542934a0a509.zip
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. llvm-svn: 28709
Diffstat (limited to 'llvm/lib/Support/IncludeFile.cpp')
-rw-r--r--llvm/lib/Support/IncludeFile.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/llvm/lib/Support/IncludeFile.cpp b/llvm/lib/Support/IncludeFile.cpp
new file mode 100644
index 00000000000..d4729176f41
--- /dev/null
+++ b/llvm/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*) {}
OpenPOWER on IntegriCloud