[all-commits] [llvm/llvm-project] b83b23: Introduce -Wreserved-identifier
serge-sans-paille via All-commits
all-commits at lists.llvm.org
Tue May 4 02:20:55 PDT 2021
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: b83b23275b745287bf9d3d72a93b593119f53f75
https://github.com/llvm/llvm-project/commit/b83b23275b745287bf9d3d72a93b593119f53f75
Author: serge-sans-paille <sguelton at redhat.com>
Date: 2021-05-04 (Tue, 04 May 2021)
Changed paths:
M clang/docs/ReleaseNotes.rst
M clang/include/clang/AST/Decl.h
M clang/include/clang/Basic/DiagnosticGroups.td
M clang/include/clang/Basic/DiagnosticSemaKinds.td
M clang/include/clang/Basic/IdentifierTable.h
M clang/include/clang/Sema/Sema.h
M clang/lib/AST/Decl.cpp
M clang/lib/Basic/IdentifierTable.cpp
M clang/lib/CodeGen/CGDebugInfo.cpp
M clang/lib/Sema/SemaCodeComplete.cpp
M clang/lib/Sema/SemaDecl.cpp
M clang/lib/Sema/SemaDeclCXX.cpp
M clang/lib/Sema/SemaStmt.cpp
M clang/lib/Sema/SemaTemplate.cpp
M clang/test/Preprocessor/macro-reserved.c
M clang/test/Preprocessor/macro-reserved.cpp
A clang/test/Sema/reserved-identifier.c
A clang/test/Sema/reserved-identifier.cpp
Log Message:
-----------
Introduce -Wreserved-identifier
Warn when a declaration uses an identifier that doesn't obey the reserved
identifier rule from C and/or C++.
Differential Revision: https://reviews.llvm.org/D93095
More information about the All-commits
mailing list