summaryrefslogtreecommitdiffstats
path: root/lldb/packages/Python/lldbsuite/test/expression_command/context-object/main.cpp
diff options
context:
space:
mode:
authorSaleem Abdulrasool <compnerd@compnerd.org>2019-05-14 17:07:36 +0000
committerSaleem Abdulrasool <compnerd@compnerd.org>2019-05-14 17:07:36 +0000
commit1362905e8c4a8fe95dfea81a37a2ad01a95cf926 (patch)
tree4f8ac72535ab56f1d149c256c98eb6537078b345 /lldb/packages/Python/lldbsuite/test/expression_command/context-object/main.cpp
parent7c5c0c9fe59b77e628024dec48b9db1f36f41c15 (diff)
downloadbcm5719-llvm-1362905e8c4a8fe95dfea81a37a2ad01a95cf926.tar.gz
bcm5719-llvm-1362905e8c4a8fe95dfea81a37a2ad01a95cf926.zip
lldb-server: rename `llgs::terminate` (NFC)
`terminate` overlaps with a C function on Windows: ``` D:\a\1\s\lldb\tools\lldb-server\lldb-server.cpp(45,13): warning: 'terminate' redeclared without 'dllimport' attribute: 'dllexport' attribute added [-Winconsistent-dllimport] static void terminate() { g_debugger_lifetime->Terminate(); } ^ C:\Program Files (x86)\Windows Kits\10\include\10.0.17763.0\ucrt\corecrt_terminate.h(29,48): note: previous declaration is here _ACRTIMP __declspec(noreturn) void __cdecl terminate() throw(); ^ D:\a\1\s\lldb\tools\lldb-server\lldb-server.cpp(45,61): warning: function declared 'noreturn' should not return [-Winvalid-noreturn] static void terminate() { g_debugger_lifetime->Terminate(); } ^ ``` Rename the function to `terminate_debugger` to avoid the errant match. llvm-svn: 360693
Diffstat (limited to 'lldb/packages/Python/lldbsuite/test/expression_command/context-object/main.cpp')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud