diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-01 06:46:33 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-01 06:46:33 +0000 |
| commit | 36d33fc1098a2377bf6b5a20e98351c06db0cfe1 (patch) | |
| tree | e47beafb5ea59b4094b95accd5447a8e9951fa26 /llvm/tools/llvm-objdump | |
| parent | cd354a659b89cf5fed6a578ec3fb665607c573ac (diff) | |
| download | bcm5719-llvm-36d33fc1098a2377bf6b5a20e98351c06db0cfe1.tar.gz bcm5719-llvm-36d33fc1098a2377bf6b5a20e98351c06db0cfe1.zip | |
Use StringRef instead of raw pointers in MCAsmInfo/MCInstrInfo APIs (NFC)
llvm-svn: 283018
Diffstat (limited to 'llvm/tools/llvm-objdump')
| -rw-r--r-- | llvm/tools/llvm-objdump/MachODump.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-objdump/MachODump.cpp b/llvm/tools/llvm-objdump/MachODump.cpp index 804a93967f5..a2f0e8dc312 100644 --- a/llvm/tools/llvm-objdump/MachODump.cpp +++ b/llvm/tools/llvm-objdump/MachODump.cpp @@ -6397,7 +6397,7 @@ static void emitComments(raw_svector_ostream &CommentStream, // Flush the stream before taking its content. StringRef Comments = CommentsToEmit.str(); // Get the default information for printing a comment. - const char *CommentBegin = MAI.getCommentString(); + StringRef CommentBegin = MAI.getCommentString(); unsigned CommentColumn = MAI.getCommentColumn(); bool IsFirst = true; while (!Comments.empty()) { |

