mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-09-28 22:02:37 +01:00
location -> loc abbreviation (#3826)
This commit is contained in:
@@ -12,9 +12,8 @@ namespace Carbon {
|
||||
|
||||
namespace {
|
||||
struct FilenameConverter : DiagnosticConverter<llvm::StringRef> {
|
||||
auto ConvertLocation(llvm::StringRef filename,
|
||||
ContextFnT /*context_fn*/) const
|
||||
-> DiagnosticLocation override {
|
||||
auto ConvertLoc(llvm::StringRef filename, ContextFnT /*context_fn*/) const
|
||||
-> DiagnosticLoc override {
|
||||
return {.filename = filename};
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user