[llvm-commits] [gcc-plugin] r75330 - /gcc-plugin/trunk/llvm-internal.h
Duncan Sands
baldrick at free.fr
Fri Jul 10 20:27:35 PDT 2009
Author: baldrick
Date: Fri Jul 10 22:27:20 2009
New Revision: 75330
URL: http://llvm.org/viewvc/llvm-project?rev=75330&view=rev
Log:
Do not include the llvm.h header: since it consists
of routines to be called by (modified) gcc code,
it doesn't make much sense in the plugin context.
Modified:
gcc-plugin/trunk/llvm-internal.h
Modified: gcc-plugin/trunk/llvm-internal.h
URL: http://llvm.org/viewvc/llvm-project/gcc-plugin/trunk/llvm-internal.h?rev=75330&r1=75329&r2=75330&view=diff
==============================================================================
--- gcc-plugin/trunk/llvm-internal.h (original)
+++ gcc-plugin/trunk/llvm-internal.h Fri Jul 10 22:27:20 2009
@@ -41,10 +41,6 @@
#include "llvm/Support/Streams.h"
#include "llvm/Support/TargetFolder.h"
-extern "C" {
-#include "llvm.h"
-}
-
/// Internal gcc structure describing an exception handling region. Declared
/// here to avoid including all of except.h.
struct eh_region;
More information about the llvm-commits
mailing list