[all-commits] [llvm/llvm-project] 0d3d2f: [Clang] Do not warn for serialized builtin or comm...
Juan Manuel Martinez Caamaño via All-commits
all-commits at lists.llvm.org
Thu May 1 00:56:08 PDT 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 0d3d2f639c42b22fc1b9453c7b834dbb0f16c0dc
https://github.com/llvm/llvm-project/commit/0d3d2f639c42b22fc1b9453c7b834dbb0f16c0dc
Author: Juan Manuel Martinez Caamaño <jmartinezcaamao at gmail.com>
Date: 2025-05-01 (Thu, 01 May 2025)
Changed paths:
M clang/lib/Lex/PPDirectives.cpp
A clang/test/Preprocessor/macro_reserved.i
Log Message:
-----------
[Clang] Do not warn for serialized builtin or command-line definitions (#137306)
When using `-dD` to generate a preprocessed output, the `#define`
directives
are preserved. This includes built-in and command-line definitions.
Before, clang would warn for reserved identifiers for serialized
built-in
and command-line definitions.
This patch adds an exception to these cases.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list