This is an archive of the discontinued LLVM Phabricator instance.

Fix Clang-tidy readability-redundant-string-cstr warnings
ClosedPublic

Authored by malcolm.parsons on Nov 2 2016, 2:54 AM.

Diff Detail

Repository
rL LLVM

Event Timeline

malcolm.parsons retitled this revision from to Fix Clang-tidy readability-redundant-string-cstr warnings.
malcolm.parsons added a reviewer: zturner.
malcolm.parsons added a subscriber: lldb-commits.
Eugene.Zelenko set the repository for this revision to rL LLVM.
zturner accepted this revision.Nov 2 2016, 10:27 AM
zturner edited edge metadata.

Nice improvement. I assume you ran the test suite and everything passed?

This revision is now accepted and ready to land.Nov 2 2016, 10:27 AM

Nice improvement. I assume you ran the test suite and everything passed?

I think a change like this would fail to compile if it was wrong.

check-lldb passed:

Issue Details

UNEXPECTED SUCCESS: test_continue_in_watchpoint_command_dwarf (functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py)
UNEXPECTED SUCCESS: test_continue_in_watchpoint_command_dwo (functionalities/watchpoint/watchpoint_commands/command/TestWatchpointCommandPython.py)
UNEXPECTED SUCCESS: test_dwarf (functionalities/thread/exit_during_break/TestExitDuringBreak.py)
UNEXPECTED SUCCESS: test_dwo (functionalities/thread/exit_during_break/TestExitDuringBreak.py)
UNEXPECTED SUCCESS: test_sb_api_listener_resume_dwarf (api/multithreaded/TestMultithreaded.py)
UNEXPECTED SUCCESS: test_sb_api_listener_resume_dwo (api/multithreaded/TestMultithreaded.py)
UNEXPECTED SUCCESS: test_with_dwarf (lang/cpp/printf/TestPrintf.py)
UNEXPECTED SUCCESS: test_with_dwo (lang/cpp/printf/TestPrintf.py)

Test Result Summary

Test Methods: 1868
Reruns: 0
Success: 1099
Expected Failure: 116
Failure: 0
Error: 0
Exceptional Exit: 0
Unexpected Success: 8
Skip: 645
Timeout: 0
Expected Timeout: 0
[100%] Built target check-lldb

labath accepted this revision.Nov 2 2016, 11:03 AM
labath edited edge metadata.

nice

This revision was automatically updated to reflect the committed changes.