mirror of
https://github.com/dart-lang/sdk
synced 2024-11-02 10:49:00 +00:00
rename local functions with _
s
These will be flagged by the next linter release which updates `non_constant_identifier_names` to flag local functions. Change-Id: I873400f61748a145f3c2a6630a21bcd1975c309c Reviewed-on: https://dart-review.googlesource.com/c/sdk/+/242503 Reviewed-by: Alexander Aprelev <aam@google.com> Commit-Queue: Phil Quitslund <pquitslund@google.com>
This commit is contained in:
parent
68fa0e96d0
commit
bb47e41ab2
1 changed files with 3 additions and 3 deletions
|
@ -1045,7 +1045,7 @@ class Elf {
|
|||
entry.setName(sectionHeaderStringTable);
|
||||
sectionsByName.putIfAbsent(entry.name, () => {}).add(section);
|
||||
}
|
||||
void _cacheSymbolNames(String stringTableTag, String symbolTableTag) {
|
||||
void cacheSymbolNames(String stringTableTag, String symbolTableTag) {
|
||||
final stringTables = sectionsByName[stringTableTag]?.cast<StringTable>();
|
||||
if (stringTables == null) {
|
||||
return;
|
||||
|
@ -1068,8 +1068,8 @@ class Elf {
|
|||
}
|
||||
}
|
||||
|
||||
_cacheSymbolNames('.strtab', '.symtab');
|
||||
_cacheSymbolNames('.dynstr', '.dynsym');
|
||||
cacheSymbolNames('.strtab', '.symtab');
|
||||
cacheSymbolNames('.dynstr', '.dynsym');
|
||||
// Set the wordSize and endian of the original reader before returning.
|
||||
elfReader.wordSize = reader.wordSize;
|
||||
elfReader.endian = reader.endian;
|
||||
|
|
Loading…
Reference in a new issue