Remove unused function IncrementalParser::Parse().
This commit is contained in:
parent
431e6e6815
commit
762942581e
@ -662,14 +662,6 @@ namespace cling {
|
||||
return PRT;
|
||||
}
|
||||
|
||||
IncrementalParser::ParseResultTransaction
|
||||
IncrementalParser::Parse(llvm::StringRef input,
|
||||
const CompilationOptions& Opts) {
|
||||
Transaction* CurT = beginTransaction(Opts);
|
||||
ParseInternal(input);
|
||||
return endTransaction(CurT);
|
||||
}
|
||||
|
||||
// Add the input to the memory buffer, parse it, and add it to the AST.
|
||||
IncrementalParser::EParseResult
|
||||
IncrementalParser::ParseInternal(llvm::StringRef input) {
|
||||
|
@ -192,18 +192,6 @@ namespace cling {
|
||||
///
|
||||
ParseResultTransaction Compile(llvm::StringRef input, const CompilationOptions& Opts);
|
||||
|
||||
///\brief Parses the given input without calling the custom consumers and
|
||||
/// code generation.
|
||||
///
|
||||
/// I.e changes to the decls in the transaction commiting it will cause
|
||||
/// different executable code.
|
||||
///
|
||||
///\param[in] input - The code to parse.
|
||||
///\param[in] Opts - The compilation options to use.
|
||||
///\returns The transaction corresponding to the input.
|
||||
///
|
||||
ParseResultTransaction Parse(llvm::StringRef input, const CompilationOptions& Opts);
|
||||
|
||||
void printTransactionStructure() const;
|
||||
|
||||
///\brief Adds a UsedAttr to all decls in the transaction.
|
||||
|
Loading…
x
Reference in New Issue
Block a user