diff options
author | Juan Manuel Martinez CaamaƱo <jmartinezcaamao@gmail.com> | 2025-05-01 09:55:46 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2025-05-01 09:55:46 +0200 |
commit | 0d3d2f639c42b22fc1b9453c7b834dbb0f16c0dc (patch) | |
tree | dbf1cc0ae9aae430a4f4ac739b87d0070edd1b92 /clang/unittests/Frontend/CompilerInstanceTest.cpp | |
parent | 7ec1e0f7ba9f3b03fa6163ab62c17dc9b404303e (diff) | |
download | llvm-0d3d2f639c42b22fc1b9453c7b834dbb0f16c0dc.zip llvm-0d3d2f639c42b22fc1b9453c7b834dbb0f16c0dc.tar.gz llvm-0d3d2f639c42b22fc1b9453c7b834dbb0f16c0dc.tar.bz2 |
[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.
Diffstat (limited to 'clang/unittests/Frontend/CompilerInstanceTest.cpp')
0 files changed, 0 insertions, 0 deletions