aboutsummaryrefslogtreecommitdiffstats
path: root/lib/AsmParser
diff options
context:
space:
mode:
Diffstat (limited to 'lib/AsmParser')
-rw-r--r--lib/AsmParser/Parser.cpp1
-rw-r--r--lib/AsmParser/ParserInternals.h3
-rw-r--r--lib/AsmParser/llvmAsmParser.y5
3 files changed, 0 insertions, 9 deletions
diff --git a/lib/AsmParser/Parser.cpp b/lib/AsmParser/Parser.cpp
index a99849d..19632dd 100644
--- a/lib/AsmParser/Parser.cpp
+++ b/lib/AsmParser/Parser.cpp
@@ -7,7 +7,6 @@
#include "llvm/Analysis/Verifier.h"
#include "llvm/Module.h"
#include "ParserInternals.h"
-#include <stdio.h> // for sprintf
using std::string;
// The useful interface defined by this file... Parse an ascii file, and return
diff --git a/lib/AsmParser/ParserInternals.h b/lib/AsmParser/ParserInternals.h
index 3571138..656d718 100644
--- a/lib/AsmParser/ParserInternals.h
+++ b/lib/AsmParser/ParserInternals.h
@@ -8,10 +8,7 @@
#ifndef PARSER_INTERNALS_H
#define PARSER_INTERNALS_H
-#include <stdio.h>
#define __STDC_LIMIT_MACROS
-
-#include "llvm/InstrTypes.h"
#include "llvm/BasicBlock.h"
#include "llvm/Constants.h"
#include "llvm/iOther.h"
diff --git a/lib/AsmParser/llvmAsmParser.y b/lib/AsmParser/llvmAsmParser.y
index 776e8c5..ad5e57e 100644
--- a/lib/AsmParser/llvmAsmParser.y
+++ b/lib/AsmParser/llvmAsmParser.y
@@ -6,13 +6,9 @@
%{
#include "ParserInternals.h"
-#include "llvm/Assembly/Parser.h"
#include "llvm/SymbolTable.h"
#include "llvm/Module.h"
#include "llvm/GlobalVariable.h"
-#include "llvm/Function.h"
-#include "llvm/BasicBlock.h"
-#include "llvm/DerivedTypes.h"
#include "llvm/iTerminators.h"
#include "llvm/iMemory.h"
#include "llvm/iPHINode.h"
@@ -22,7 +18,6 @@
#include <list>
#include <utility> // Get definition of pair class
#include <algorithm>
-#include <stdio.h> // This embarasment is due to our flex lexer...
#include <iostream>
using std::list;
using std::vector;