Page MenuHomePhabricator

include missing <cstdlib> for std::abort
AcceptedPublic

Authored by raj.khem on Sat, Dec 28, 10:47 AM.

Details

Summary

Fixes

TOPDIR/build/tmp/work-shared/llvm-project-source-10.0.0-r0/git/clang-tools-extra/clangd/Shutdown.cpp:21:10: error: no member named 'abort' in namespace 'std'

std::abort();
~~~~~^

TOPDIR/build/tmp/work-shared/llvm-project-source-10.0.0-r0/git/clang-tools-extra/clangd/Shutdown.cpp:30:10: error: no member named 'abort' in namespace 'std'

std::abort();
~~~~~^

Diff Detail

Event Timeline

raj.khem created this revision.Sat, Dec 28, 10:47 AM

Unit tests: pass. 61133 tests passed, 0 failed and 728 were skipped.

clang-tidy: pass.

clang-format: pass.

Build artifacts: diff.json, clang-tidy.txt, clang-format.patch, CMakeCache.txt, console-log.txt, test-results.xml

ilya-biryukov accepted this revision.Mon, Dec 30, 1:39 AM

LGTM. Do you have commit access or should we land this for you?

This revision is now accepted and ready to land.Mon, Dec 30, 1:39 AM