[clang] [clang] Implement __attribute__((format_matches)) (PR #116708)
via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 6 08:52:57 PST 2025
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>,
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>,
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>,
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>,
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>,
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>,
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>,
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>,
=?utf-8?q?Félix?= Cloutier <fcloutier at apple.com>
Message-ID:
In-Reply-To: <llvm.org/llvm/llvm-project/pull/116708 at github.com>
================
@@ -145,6 +145,7 @@ void test_multiple_format_strings(const char *fmt1, const char *fmt2) {
expected-warning{{passing 'os_log' format string where 'printf' format string is expected}}
}
+// MARK: -
----------------
apple-fcloutier wrote:
This is probably an Xcode-ism. Xcode interprets `// MARK: ...` and `#pragma mark ...` as a directive to add an entry to the symbol menu. "-" creates a separator. It's harmless but I can remove them if it's not customary.
https://github.com/llvm/llvm-project/pull/116708
More information about the cfe-commits
mailing list