This is an archive of the discontinued LLVM Phabricator instance.

[libc++abi] NFC: Simplify extern C declaration
ClosedPublic

Authored by ldionne on Mar 11 2020, 2:23 PM.

Details

Reviewers
EricWF
Group Reviewers
Restricted Project
Commits
rGe6eb942ffa4c: [libc++abi] NFC: Simplify extern C declaration
Summary

It seems to me that abort_message.h is always included in a C++ file, so
it's fine to assume that it's C++ code.

Diff Detail

Event Timeline

ldionne created this revision.Mar 11 2020, 2:23 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald Transcript
Herald added a reviewer: Restricted Project. · View Herald Transcript
EricWF accepted this revision.Mar 11 2020, 2:30 PM

Why was this file ever getting built as plain C anyway?
All of the libc++abi source files that use it should be C++.

This revision is now accepted and ready to land.Mar 11 2020, 2:30 PM
This revision was automatically updated to reflect the committed changes.