mirror of
https://github.com/c64scene-ar/llvm-6502.git
synced 2025-01-12 17:32:19 +00:00
Fine-grainify namespacification, prune #include
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14792 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
parent
22ae232d98
commit
65cd4b0fa7
@ -13,14 +13,12 @@
|
|||||||
|
|
||||||
#include "ParserInternals.h"
|
#include "ParserInternals.h"
|
||||||
#include "llvm/Module.h"
|
#include "llvm/Module.h"
|
||||||
#include "llvm/Analysis/Verifier.h"
|
using namespace llvm;
|
||||||
|
|
||||||
namespace llvm {
|
|
||||||
|
|
||||||
// The useful interface defined by this file... Parse an ASCII file, and return
|
// The useful interface defined by this file... Parse an ASCII file, and return
|
||||||
// the internal representation in a nice slice'n'dice'able representation.
|
// the internal representation in a nice slice'n'dice'able representation.
|
||||||
//
|
//
|
||||||
Module *ParseAssemblyFile(const std::string &Filename) {
|
Module *llvm::ParseAssemblyFile(const std::string &Filename) {
|
||||||
FILE *F = stdin;
|
FILE *F = stdin;
|
||||||
|
|
||||||
if (Filename != "-") {
|
if (Filename != "-") {
|
||||||
@ -84,5 +82,3 @@ const std::string ParseException::getMessage() const {
|
|||||||
|
|
||||||
return Result + ": " + Message;
|
return Result + ": " + Message;
|
||||||
}
|
}
|
||||||
|
|
||||||
} // End llvm namespace
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user