Page MenuHomePhabricator

Use pure C for "try_compile"
Needs ReviewPublic

Authored by paperchalice on Feb 11 2020, 9:03 PM.

Details

Reviewers
samsonov
Summary

The code in "simple.cc" use "stdio.h" and "stdlib.h", which are deprecated in future C++. File with suffix ".cc" may be recognized as a C++ source, may causes error.

Diff Detail

Event Timeline

paperchalice created this revision.Feb 11 2020, 9:03 PM
Herald added projects: Restricted Project, Restricted Project. · View Herald TranscriptFeb 11 2020, 9:03 PM
Herald added subscribers: llvm-commits, Restricted Project, mgorny. · View Herald Transcript