give ASTContext a SourceMgr reference, add diagnostic hooks to SemaBase.

Swift SVN r39
This commit is contained in:
Chris Lattner
2010-07-19 05:13:55 +00:00
parent c5e54442b4
commit 2eeee5faca
6 changed files with 26 additions and 7 deletions

View File

@@ -42,7 +42,7 @@ class Parser {
Parser(const Parser&); // DO NOT IMPLEMENT
void operator=(const Parser&); // DO NOT IMPLEMENT
public:
Parser(unsigned BufferID, llvm::SourceMgr &SM, ASTContext &Context);
Parser(unsigned BufferID, ASTContext &Context);
~Parser();
void ParseTranslationUnit();