diff options
author | Vlad Serebrennikov <serebrennikov.vladislav@gmail.com> | 2024-06-21 13:50:03 +0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-06-21 13:50:03 +0400 |
commit | 2b5d1fb889fca7287858db0791bfecc1465f23e1 (patch) | |
tree | 0f4a559998e4ad2b3709c0c85aa1e2a8f55457e9 /llvm/tools/llvm-objdump/llvm-objdump.cpp | |
parent | bc4d50f02ded9eea287daccf2b4a39ae5d30abd0 (diff) | |
download | llvm-2b5d1fb889fca7287858db0791bfecc1465f23e1.zip llvm-2b5d1fb889fca7287858db0791bfecc1465f23e1.tar.gz llvm-2b5d1fb889fca7287858db0791bfecc1465f23e1.tar.bz2 |
[clang] Add test for CWG2811 "Clarify "use" of main" (#96168)
This patch covers
[CWG2811](https://cplusplus.github.io/CWG/issues/2811.html) "Clarify
"use" of main", basically adding a test for `-Wmain`, focusing on usages
of `main` in unevaluated contexts.
To my understanding, the diagnostic message is based on the wording, so
I updated it based on the new wording. I also replaces "ISO C++
requires" with a phrasing that explicitly says "extension".
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions