r357577 - Fix typos in tests. NFC.

2019-04-03 Thread Xing GUO via cfe-commits
Author: higuoxing Date: Wed Apr 3 06:15:09 2019 New Revision: 357577 URL: http://llvm.org/viewvc/llvm-project?rev=357577&view=rev Log: Fix typos in tests. NFC. Reviewers: Higuoxing Reviewed By: Higuoxing Subscribers: kubamracek, cfe-commits, #sanitizers, llvm-commits Tags: #clang, #sanitizers

[clang] b0a1c0b - [doc] Fix broken link. NFC.

2020-04-23 Thread Xing GUO via cfe-commits
Author: Xing GUO Date: 2020-04-23T22:47:39+08:00 New Revision: b0a1c0b72c9c61f8b0a223e08f43498abb64f5e8 URL: https://github.com/llvm/llvm-project/commit/b0a1c0b72c9c61f8b0a223e08f43498abb64f5e8 DIFF: https://github.com/llvm/llvm-project/commit/b0a1c0b72c9c61f8b0a223e08f43498abb64f5e8.diff LOG:

[clang] b0a1c0b - [doc] Fix broken link. NFC.

2020-04-23 Thread Xing GUO via cfe-commits
Author: Xing GUO Date: 2020-04-23T22:47:39+08:00 New Revision: b0a1c0b72c9c61f8b0a223e08f43498abb64f5e8 URL: https://github.com/llvm/llvm-project/commit/b0a1c0b72c9c61f8b0a223e08f43498abb64f5e8 DIFF: https://github.com/llvm/llvm-project/commit/b0a1c0b72c9c61f8b0a223e08f43498abb64f5e8.diff LOG:

[clang] [clang][Sema] Accept gnu format attributes (PR #160255)

2025-09-23 Thread Xing Guo via cfe-commits
https://github.com/higuoxing created https://github.com/llvm/llvm-project/pull/160255 This patch teaches clang accepts gnu_printf, gnu_scanf and gnu_strftime. These attributes are aliases for printf, scanf and strftime. Ref: https://gcc.gnu.org/onlinedocs/gcc/Common-Function-Attributes.html Fix

[clang] [clang][Sema] Accept gnu format attributes (PR #160255)

2025-09-23 Thread Xing Guo via cfe-commits
https://github.com/higuoxing updated https://github.com/llvm/llvm-project/pull/160255 >From a8494656c1f49dd599a8ea39002b47f02d56065c Mon Sep 17 00:00:00 2001 From: Xing Guo Date: Tue, 23 Sep 2025 15:58:10 +0800 Subject: [PATCH 1/6] [clang][Sema] Remove unused enum value: FormatStringType::Sysl

[clang] [clang][Sema] Accept gnu format attributes (PR #160255)

2025-09-23 Thread Xing Guo via cfe-commits
higuoxing wrote: > > Seems fine, but is it documented anywhere (by GCC) that e.g. `gnu_printf` > > behaves the same as `printf`? > > Looking at the issue you linked, they at least were equivalent in 2008 when > they were added to GCC Yes. They are still equivalent at the moment. https://gcc.

[clang] [clang][Sema] Accept gnu format attributes (PR #160255)

2025-09-25 Thread Xing Guo via cfe-commits
https://github.com/higuoxing closed https://github.com/llvm/llvm-project/pull/160255 ___ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

[clang] [clang][Sema] Accept gnu format attributes (PR #160255)

2025-09-25 Thread Xing Guo via cfe-commits
https://github.com/higuoxing updated https://github.com/llvm/llvm-project/pull/160255 >From a8494656c1f49dd599a8ea39002b47f02d56065c Mon Sep 17 00:00:00 2001 From: Xing Guo Date: Tue, 23 Sep 2025 15:58:10 +0800 Subject: [PATCH 1/7] [clang][Sema] Remove unused enum value: FormatStringType::Sysl