diff options
author | 2015-04-21 16:50:40 -0700 | |
---|---|---|
committer | 2015-04-22 12:44:27 -0700 | |
commit | 2cebb24bfc3247d3e9be138a3350106737455918 (patch) | |
tree | d04d27d21b3c7733d784e303f01f873bb99e7770 /compiler/elf_builder.h | |
parent | 1f02f1a7b3073b8fef07770a67fbf94afad317f0 (diff) |
Replace NULL with nullptr
Also fixed some lines that were too long, and a few other minor
details.
Change-Id: I6efba5fb6e03eb5d0a300fddb2a75bf8e2f175cb
Diffstat (limited to 'compiler/elf_builder.h')
-rw-r--r-- | compiler/elf_builder.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/compiler/elf_builder.h b/compiler/elf_builder.h index b67dd26f71..32c8cce031 100644 --- a/compiler/elf_builder.h +++ b/compiler/elf_builder.h @@ -374,7 +374,7 @@ class ElfSymtabBuilder FINAL : public ElfSectionBuilder<ElfTypes> { } Elf_Word GetSize() const { - // 1 is for the implicit NULL symbol. + // 1 is for the implicit null symbol. return symbols_.size() + 1; } @@ -578,7 +578,7 @@ class ElfBuilder FINAL { hash_builder_(".hash", SHT_HASH, SHF_ALLOC, &dynsym_builder_, 0, sizeof(Elf_Word), sizeof(Elf_Word)), dynamic_builder_(".dynamic", &dynsym_builder_), - shstrtab_builder_(".shstrtab", SHT_STRTAB, 0, NULL, 0, 1, 1) { + shstrtab_builder_(".shstrtab", SHT_STRTAB, 0, nullptr, 0, 1, 1) { SetupEhdr(); SetupDynamic(); SetupRequiredSymbols(); @@ -689,7 +689,7 @@ class ElfBuilder FINAL { // +-------------------------+ (Optional) // | .debug_line | (Optional) // +-------------------------+ (Optional) - // | Elf_Shdr NULL | + // | Elf_Shdr null | // | Elf_Shdr .dynsym | // | Elf_Shdr .dynstr | // | Elf_Shdr .hash | |