Finegrainify namespacification

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@14808 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Chris Lattner 2004-07-14 06:39:48 +00:00
parent 2e2ed2995a
commit 8642763f11

View File

@ -31,9 +31,11 @@ int yylex(); // declaration" of xxx warnings.
int yyparse();
namespace llvm {
std::string CurFilename;
}
using namespace llvm;
static Module *ParserResult;
std::string CurFilename;
// DEBUG_UPREFS - Define this symbol if you want to enable debugging output
// relating to upreferences in the input stream.
@ -784,7 +786,7 @@ static PATypeHolder HandleUpRefs(const Type *ty) {
// RunVMAsmParser - Define an interface to this parser
//===----------------------------------------------------------------------===//
//
Module *RunVMAsmParser(const std::string &Filename, FILE *F) {
Module *llvm::RunVMAsmParser(const std::string &Filename, FILE *F) {
llvmAsmin = F;
CurFilename = Filename;
llvmAsmlineno = 1; // Reset the current line number...
@ -864,10 +866,6 @@ Module *RunVMAsmParser(const std::string &Filename, FILE *F) {
return Result;
}
} // End llvm namespace
using namespace llvm;
%}
%union {