Description[parser] Give preparser and parser independent loggers
This
- removes the ParserRecorder base class,
- devirtualizes the LogFunction and LogMessage functions,
- reuses the SingletonLogger for all preparser calls
In a subsequent step the preparser should probably log directly to the CompleteParserRecorder rather than indirectly through the singleton logger...
BUG=
Committed: https://crrev.com/32105d214da5750506d11e6b292145e7cacbcd3b
Cr-Commit-Position: refs/heads/master@{#40803}
Patch Set 1 #
Total comments: 1
Patch Set 2 : The function scope is used by the preparser, so we don't need to set flags again #
Total comments: 1
Patch Set 3 : Rename #Patch Set 4 : Rebase #Patch Set 5 : Drop reentrance dcheck and remove unused fields from preparserlogger #
Total comments: 2
Patch Set 6 : Unused variable #Patch Set 7 : Addressed comment #
Messages
Total messages: 30 (15 generated)
|