This is an archive of the discontinued LLVM Phabricator instance.

In stdbool.h, define bool, false, true only in gnu++98
ClosedPublic

Authored by sberg on Nov 17 2017, 12:04 AM.

Diff Detail

Repository
rC Clang

Event Timeline

sberg created this revision.Nov 17 2017, 12:04 AM

(This code had been introduced with http://llvm.org/viewvc/llvm-project?view=revision&revision=115028 "Define _Bool, bool, true, and false macros in <stdbool.h> when we're in a GNU-compatible C++ dialect. Fixes rdar://problem/8477819" mentioning: "Fixes rdar://problem/8477819." But I don't know what that is.)

This revision was automatically updated to reflect the committed changes.