[flang-commits] [clang] [flang] [libc] [llvm] [clang-tools-extra] Fix clang to recognize new C23 modifiers %w and %wf when printing (PR #71771)

Aaron Ballman via flang-commits flang-commits at lists.llvm.org
Tue Nov 14 10:50:38 PST 2023


================
@@ -780,6 +791,9 @@ bool parseFormatStringHasFormattingSpecifiers(const char *Begin,
                                               const LangOptions &LO,
                                               const TargetInfo &Target);
 
+ArgType wToArgType(int size, bool fast, ASTContext &C);
+ArgType wToArgTypeUnsigned(int size, bool fast, ASTContext &C);
----------------
AaronBallman wrote:

```suggestion
ArgType wToArgType(int Size, bool Fast, ASTContext &C);
ArgType wToArgTypeUnsigned(int Size, bool Fast, ASTContext &C);
```
for naming conventions. You should take a pass over your changes and make similar corrections.

https://github.com/llvm/llvm-project/pull/71771


More information about the flang-commits mailing list