diff options
author | Chris Bieneman <chris.bieneman@me.com> | 2021-09-27 11:59:55 -0500 |
---|---|---|
committer | Chris Bieneman <chris.bieneman@me.com> | 2021-09-27 14:11:16 -0500 |
commit | 1e48ef20358fb097f43d9b133e33bd23723d79c2 (patch) | |
tree | afc4b537d5186371b8c24198ade1b22788767e23 /llvm/lib/Analysis/ModuleSummaryAnalysis.cpp | |
parent | fdba1dccbe650de0f5eb9467b4cf61929f4557a2 (diff) | |
download | llvm-1e48ef20358fb097f43d9b133e33bd23723d79c2.zip llvm-1e48ef20358fb097f43d9b133e33bd23723d79c2.tar.gz llvm-1e48ef20358fb097f43d9b133e33bd23723d79c2.tar.bz2 |
Implement #pragma clang final extension
This patch adds a new preprocessor extension ``#pragma clang final``
which enables warning on undefinition and re-definition of macros.
The intent of this warning is to extend beyond ``-Wmacro-redefined`` to
warn against any and all alterations to macros that are marked `final`.
This warning is part of the ``-Wpedantic-macros`` diagnostics group.
Reviewed By: aaron.ballman
Differential Revision: https://reviews.llvm.org/D108567
Diffstat (limited to 'llvm/lib/Analysis/ModuleSummaryAnalysis.cpp')
0 files changed, 0 insertions, 0 deletions