https://bugs.llvm.org/show_bug.cgi?id=40981
Bug ID: 40981
Summary: Audit <cxxxx> header files for compliance with
[depr.c.headers.other]
Product: libc++
Version: unspecified
Hardware: All
OS: All
Status: NEW
Severity: normal
Priority: P
Component: All Bugs
Assignee: unassignedclangb...@nondot.org
Reporter: mclow.li...@gmail.com
CC: llvm-bugs@lists.llvm.org, mclow.li...@gmail.com
Review our header files for compliance with [depr.c.headers.other], which says:
> Every C header other than <complex.h>, <iso646.h>, <stdalign.h>, <stdbool.h>,
> and <tgmath.h>, each of which has a name of the form <name.h>, behaves as if
> each name placed in the standard library namespace by the corresponding
> <cname > header is placed within the global namespace scope, except for the
> functions described in 25.8.5, the declaration of std::byte (16.2.1), and the
> functions and function templates described in 16.2.5. It is unspecified
> whether these names are first declared or defined within namespace scope
> (6.3.6) of the namespace std and are then injected into the global namespace
> scope by explicit using-declarations (9.8).
I'm pretty sure we don't do this for the three-argument hypot, and there may be
others.
--
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
llvm-bugs mailing list
llvm-bugs@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-bugs