[all-commits] [llvm/llvm-project] 2b5d1f: [clang] Add test for CWG2811 "Clarify "use" of mai...
Vlad Serebrennikov via All-commits
all-commits at lists.llvm.org
Fri Jun 21 02:50:26 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2b5d1fb889fca7287858db0791bfecc1465f23e1
https://github.com/llvm/llvm-project/commit/2b5d1fb889fca7287858db0791bfecc1465f23e1
Author: Vlad Serebrennikov <serebrennikov.vladislav at gmail.com>
Date: 2024-06-21 (Fri, 21 Jun 2024)
Changed paths:
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/test/CXX/basic/basic.start/basic.start.init/p3.cpp
M clang/test/CXX/drs/cwg28xx.cpp
M clang/www/cxx_dr_status.html
Log Message:
-----------
[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".
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