[libcxx-commits] [PATCH] D94569: [libcxx] Wipe some more macros that do not belong in C++ forwarding headers
Marshall Clow via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed Jan 13 07:43:53 PST 2021
mclow.lists added a comment.
The C11 standard states (in section 7.21.7.5 The getc function):
2 The getc function is equivalent to fgetc, except that if it is implemented as a macro, it may evaluate stream more than once, so the argument should never be an expression with side effects.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D94569/new/
https://reviews.llvm.org/D94569
More information about the libcxx-commits
mailing list