mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
give ASTContext a SourceMgr reference, add diagnostic hooks to SemaBase.
Swift SVN r39
This commit is contained in:
@@ -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();
|
||||
|
||||
Reference in New Issue
Block a user