This is an archive of the discontinued LLVM Phabricator instance.

include missing <cstdlib> for std::abort
ClosedPublic

Authored by raj.khem on Dec 28 2019, 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.Dec 28 2019, 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.Dec 30 2019, 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.Dec 30 2019, 1:39 AM