mirror of
https://github.com/carbon-language/carbon-lang.git
synced 2026-11-15 02:28:33 +00:00
location -> loc abbreviation (#3826)
This commit is contained in:
1 parent
72564a08d4
commit
b5d28f2c4b
48 files changed
+341
-373
No files matched your search
@@ -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