[all-commits] [llvm/llvm-project] b904e6: No longer issue static lambda pedantic warning for...
Aaron Ballman via All-commits
all-commits at lists.llvm.org
Tue Mar 21 09:50:04 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b904e68f13ba7d4f4aa86a3495e2441c99247671
https://github.com/llvm/llvm-project/commit/b904e68f13ba7d4f4aa86a3495e2441c99247671
Author: Aaron Ballman <aaron at aaronballman.com>
Date: 2023-03-21 (Tue, 21 Mar 2023)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/Basic/DiagnosticParseKinds.td
M clang/test/Parser/cxx2b-lambdas-ext-warns.cpp
Log Message:
-----------
No longer issue static lambda pedantic warning for pre-c++2b compat
We were accidentally issuing "static lambdas are incompatible with C++
standards before C++2b" with -pedantic because it was an ExtWarn
diagnostic rather than a Warning. This corrects the diagnostic category
and adds some test coverage.
Fixes #61582
More information about the All-commits
mailing list