[PATCH] D124258: [C89/C2x] Change the behavior of implicit int diagnostics

Aaron Ballman via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Apr 22 09:52:24 PDT 2022


aaron.ballman updated this revision to Diff 424512.
aaron.ballman added a comment.

Updated based on review feedback; changes the names of the language option helper functions for clarity.


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D124258/new/

https://reviews.llvm.org/D124258

Files:
  clang-tools-extra/test/clang-tidy/checkers/altera-struct-pack-align-invalid-decl-no-crash.cpp
  clang-tools-extra/test/clang-tidy/infrastructure/export-diagnostics.cpp
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Basic/DiagnosticCommonKinds.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Basic/LangOptions.def
  clang/include/clang/Basic/LangOptions.h
  clang/include/clang/Basic/LangStandard.h
  clang/include/clang/Basic/LangStandards.def
  clang/lib/Basic/LangOptions.cpp
  clang/lib/Parse/ParseDecl.cpp
  clang/lib/Parse/Parser.cpp
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaType.cpp
  clang/test/Analysis/PR49642.c
  clang/test/Analysis/inline-unique-reports.c
  clang/test/Analysis/malloc.c
  clang/test/CXX/dcl.dcl/dcl.spec/dcl.type/dcl.spec.auto/p2.cpp
  clang/test/CXX/drs/dr2xx.cpp
  clang/test/CXX/drs/dr4xx.cpp
  clang/test/CXX/drs/dr5xx.cpp
  clang/test/CXX/modules-ts/basic/basic.link/module-declaration.cpp
  clang/test/CXX/temp/p3.cpp
  clang/test/CXX/temp/temp.deduct.guide/p3.cpp
  clang/test/CXX/temp/temp.res/temp.local/p3.cpp
  clang/test/CodeGen/2002-07-14-MiscTests2.c
  clang/test/CodeGen/2003-08-20-vfork-bug.c
  clang/test/CodeGen/2007-04-24-bit-not-expr.c
  clang/test/CodeGen/2007-09-26-Alignment.c
  clang/test/CodeGen/2010-07-14-ref-off-end.c
  clang/test/CodeGen/mips-clobber-reg.c
  clang/test/CodeGen/mips-vector-arg.c
  clang/test/Driver/cxx_for_opencl.clcpp
  clang/test/FixIt/fixit.c
  clang/test/Frontend/fixed_point_errors.c
  clang/test/Frontend/fixed_point_not_enabled.c
  clang/test/Frontend/system-header-line-directive.c
  clang/test/Index/reparsed-live-issue.cpp
  clang/test/Misc/warning-flags.c
  clang/test/Modules/malformed-overload.m
  clang/test/Modules/va_list.m
  clang/test/PCH/decl-in-prototype.c
  clang/test/Parser/altivec.c
  clang/test/Parser/attributes.c
  clang/test/Parser/backtrack-off-by-one.cpp
  clang/test/Parser/c2x-attributes.c
  clang/test/Parser/c2x-func-prototype.c
  clang/test/Parser/colon-colon-parentheses.cpp
  clang/test/Parser/cxx-altivec.cpp
  clang/test/Parser/cxx-concepts-ambig-constraint-expr.cpp
  clang/test/Parser/cxx-decl.cpp
  clang/test/Parser/cxx-keyword-identifiers.cpp
  clang/test/Parser/cxx-template-decl.cpp
  clang/test/Parser/cxx-undeclared-identifier.cpp
  clang/test/Parser/cxx2b-lambdas.cpp
  clang/test/Parser/declarators.c
  clang/test/Parser/explicit-bool.cpp
  clang/test/Parser/ext-int.cpp
  clang/test/Parser/objc-forcollection-neg-2.m
  clang/test/Parser/static_assert.c
  clang/test/Preprocessor/macro_paste_msextensions.c
  clang/test/Sema/address_spaces.c
  clang/test/Sema/auto-type.c
  clang/test/Sema/block-args.c
  clang/test/Sema/block-literal.c
  clang/test/Sema/c89.c
  clang/test/Sema/crash-invalid-builtin.c
  clang/test/Sema/darwin-tls.c
  clang/test/Sema/function.c
  clang/test/Sema/implicit-int.c
  clang/test/Sema/invalid-decl.c
  clang/test/Sema/invalid-struct-init.c
  clang/test/Sema/redefinition.c
  clang/test/Sema/return.c
  clang/test/Sema/typo-correction.c
  clang/test/Sema/warn-strict-prototypes.c
  clang/test/SemaCXX/MicrosoftSuper.cpp
  clang/test/SemaCXX/PR9459.cpp
  clang/test/SemaCXX/PR9460.cpp
  clang/test/SemaCXX/PR9461.cpp
  clang/test/SemaCXX/crashes.cpp
  clang/test/SemaCXX/cxx1y-variable-templates_top_level.cpp
  clang/test/SemaCXX/for-range-crash.cpp
  clang/test/SemaCXX/implicit-int.cpp
  clang/test/SemaCXX/lambda-invalid-capture.cpp
  clang/test/SemaCXX/pr18284-crash-on-invalid.cpp
  clang/test/SemaCXX/typo-correction-delayed.cpp
  clang/test/SemaCXX/typo-correction.cpp
  clang/test/SemaCXX/unknown-type-name.cpp
  clang/test/SemaObjC/protocols.m
  clang/test/SemaObjCXX/crash.mm
  clang/test/SemaOpenCL/invalid-pipes-cl1.2.cl
  clang/test/SemaTemplate/address_space-dependent.cpp
  clang/test/SemaTemplate/derived.cpp
  clang/test/SemaTemplate/temp_arg_template.cpp
  clang/test/Tooling/auto-detect-from-source-parent-of-cwd.cpp
  clang/test/Tooling/auto-detect-from-source-parent.cpp
  clang/test/Tooling/clang-check-args.cpp
  clang/test/Tooling/clang-check-autodetect-dir.cpp
  clang/test/Tooling/clang-check-builtin-headers.cpp
  clang/test/Tooling/clang-check-chdir.cpp
  clang/test/Tooling/clang-check-pwd.cpp
  clang/test/Tooling/clang-check-rel-path.cpp
  clang/test/Tooling/clang-check-strip-o.cpp
  clang/test/Tooling/clang-check.cpp
  clang/test/Tooling/multi-jobs.cpp
  clang/unittests/AST/SourceLocationTest.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D124258.424512.patch
Type: text/x-patch
Size: 106353 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220422/a5d6fa94/attachment-0001.bin>


More information about the cfe-commits mailing list