diff options
| author | Fangrui Song <maskray@google.com> | 2020-05-14 22:18:58 -0700 |
|---|---|---|
| committer | Fangrui Song <maskray@google.com> | 2020-05-15 08:49:53 -0700 |
| commit | 07837b8f499bcb1cfd9e67ad5759c68b8a470d3c (patch) | |
| tree | c34c106a6c8d22260143bc3ae385029f20e49581 /llvm/lib/Bitcode/Reader/BitcodeReader.cpp | |
| parent | 04c89c7fcab4bb3fcdb1e75daa10fd0d8206e320 (diff) | |
[ELF] Use namespace qualifiers (lld:: or elf::) instead of `namespace lld { namespace elf {`
Similar to D74882. This reverts much code from commit
bd8cfe65f5fee4ad573adc2172359c9552e8cdc0 (D68323) and fixes some
problems before D68323.
Sorry for the churn but D68323 was a mistake. Namespace qualifiers avoid
bugs where the definition does not match the declaration from the
header. See
https://llvm.org/docs/CodingStandards.html#use-namespace-qualifiers-to-implement-previously-declared-functions (D74515)
Differential Revision: https://reviews.llvm.org/D79982
Diffstat (limited to 'llvm/lib/Bitcode/Reader/BitcodeReader.cpp')
0 files changed, 0 insertions, 0 deletions
