Rename defaultDiagnosticLoc to bufferIndirectlyCausingDiagnostic.

This commit is contained in:
David Ungar
2019-04-03 12:52:49 -07:00
parent c8341fac24
commit 9cc3a4a9d8
23 changed files with 63 additions and 61 deletions

View File

@@ -233,7 +233,7 @@ struct SynParserDiagConsumer: public DiagnosticConsumer {
StringRef FormatString,
ArrayRef<DiagnosticArgument> FormatArgs,
const DiagnosticInfo &Info,
const SourceLoc defaultDiagnosticLoc) override {
const SourceLoc bufferIndirectlyCausingDiagnostic) override {
assert(Kind != DiagnosticKind::Remark && "Shouldn't see this in parser.");
// The buffer where all char* will point into.
llvm::SmallString<256> Buffer;