diff options
| author | Zachary Turner <zturner@google.com> | 2017-05-01 16:46:39 +0000 |
|---|---|---|
| committer | Zachary Turner <zturner@google.com> | 2017-05-01 16:46:39 +0000 |
| commit | 7cc13e557c028b1d6e28880ec26cb1ceccad6b67 (patch) | |
| tree | d71668b0e7ac6b9ac33d17d88e7e5748368099b4 /llvm/tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp | |
| parent | 8a6238201f015729a47691c62808a23ec8525096 (diff) | |
| download | bcm5719-llvm-7cc13e557c028b1d6e28880ec26cb1ceccad6b67.tar.gz bcm5719-llvm-7cc13e557c028b1d6e28880ec26cb1ceccad6b67.zip | |
[PDB/CodeView] Rename some classes.
In preparation for introducing writing capabilities for each of
these classes, I would like to adopt a Foo / FooRef naming
convention, where Foo indicates that the class can manipulate and
serialize Foos, and FooRef indicates that it is an immutable view of
an existing Foo. In other words, Foo is a writer and FooRef is a
reader. This patch names some existing readers to conform to the
FooRef convention, while offering no functional change.
llvm-svn: 301810
Diffstat (limited to 'llvm/tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp')
| -rw-r--r-- | llvm/tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp b/llvm/tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp index b4e64bf634d..940b38c4a8c 100644 --- a/llvm/tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp +++ b/llvm/tools/llvm-pdbdump/C13DebugFragmentVisitor.cpp @@ -24,19 +24,19 @@ C13DebugFragmentVisitor::C13DebugFragmentVisitor(PDBFile &F) : F(F) {} C13DebugFragmentVisitor::~C13DebugFragmentVisitor() {} Error C13DebugFragmentVisitor::visitUnknown( - codeview::ModuleDebugUnknownFragment &Fragment) { + codeview::ModuleDebugUnknownFragmentRef &Fragment) { return Error::success(); } Error C13DebugFragmentVisitor::visitFileChecksums( - codeview::ModuleDebugFileChecksumFragment &Checksums) { + codeview::ModuleDebugFileChecksumFragmentRef &Checksums) { assert(!this->Checksums.hasValue()); this->Checksums = Checksums; return Error::success(); } Error C13DebugFragmentVisitor::visitLines( - codeview::ModuleDebugLineFragment &Lines) { + codeview::ModuleDebugLineFragmentRef &Lines) { this->Lines.push_back(Lines); return Error::success(); } |

