[libc-commits] [PATCH] D144679: [libc] Clarify printf percent conversion behavior.

Tue Ly via Phabricator via libc-commits libc-commits at lists.llvm.org
Thu Feb 23 20:07:31 PST 2023


lntue added inline comments.


================
Comment at: libc/src/stdio/printf_core/parser.cpp:112
+      // says that "If a conversion specification is invalid, the behavior is
+      // undefined." Based on that I define that any conversion specification
+      // ending in '%' shall display as '%' regardless of any valid or invalid
----------------
Probably we should have a section in the main doc page about `implementation-defined behaviors and rationale`, with links to the implementations and tests.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D144679/new/

https://reviews.llvm.org/D144679



More information about the libc-commits mailing list