diff options
author | dim <dim@FreeBSD.org> | 2010-10-02 11:45:18 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2010-10-02 11:45:18 +0000 |
commit | 2d4f0a4a82f1cf5b082a40443abbe715d7419c78 (patch) | |
tree | fd6b9ff4e070b2a24599a60688ce44f0e9bf8072 /contrib/llvm/tools/llvmc/examples/Hello | |
parent | 790a22aed9d7cf1919992c27eaa1ddfaa24bfe90 (diff) | |
download | FreeBSD-src-2d4f0a4a82f1cf5b082a40443abbe715d7419c78.zip FreeBSD-src-2d4f0a4a82f1cf5b082a40443abbe715d7419c78.tar.gz |
Cleanup some example and empty directories that were left around after
the last import of contrib/llvm.
Suggested by: obrien
Approved by: rpaulo (mentor)
Diffstat (limited to 'contrib/llvm/tools/llvmc/examples/Hello')
-rw-r--r-- | contrib/llvm/tools/llvmc/examples/Hello/Hello.cpp | 29 | ||||
-rw-r--r-- | contrib/llvm/tools/llvmc/examples/Hello/Makefile | 14 |
2 files changed, 0 insertions, 43 deletions
diff --git a/contrib/llvm/tools/llvmc/examples/Hello/Hello.cpp b/contrib/llvm/tools/llvmc/examples/Hello/Hello.cpp deleted file mode 100644 index 71f04fd..0000000 --- a/contrib/llvm/tools/llvmc/examples/Hello/Hello.cpp +++ /dev/null @@ -1,29 +0,0 @@ -//===- Hello.cpp - Example code from "Writing an LLVMC Plugin" ------------===// -// -// The LLVM Compiler Infrastructure -// -// This file is distributed under the University of Illinois Open Source -// License. See LICENSE.TXT for details. -// -//===----------------------------------------------------------------------===// -// -// Shows how to write llvmc-based drivers without using TableGen. -// -//===----------------------------------------------------------------------===// - -#include "llvm/CompilerDriver/AutoGenerated.h" -#include "llvm/CompilerDriver/Main.inc" - -#include "llvm/Support/raw_ostream.h" - -namespace llvmc { -namespace autogenerated { - -int PreprocessOptions () { return 0; } - -int PopulateLanguageMap (LanguageMap&) { llvm::outs() << "Hello!\n"; return 0; } - -int PopulateCompilationGraph (CompilationGraph&) { return 0; } - -} -} diff --git a/contrib/llvm/tools/llvmc/examples/Hello/Makefile b/contrib/llvm/tools/llvmc/examples/Hello/Makefile deleted file mode 100644 index c281be6..0000000 --- a/contrib/llvm/tools/llvmc/examples/Hello/Makefile +++ /dev/null @@ -1,14 +0,0 @@ -##===- tools/llvmc/examples/Hello/Makefile -----------------*- Makefile -*-===## -# -# The LLVM Compiler Infrastructure -# -# This file is distributed under the University of Illinois Open Source -# License. See LICENSE.TXT for details. -# -##===----------------------------------------------------------------------===## - -LEVEL = ../../../.. - -LLVMC_BASED_DRIVER = Hello - -include $(LEVEL)/Makefile.common |