[all-commits] [llvm/llvm-project] 346e1c: Revert "nullptr returned from ActOnTag() is not a ...

aeubanks via All-commits all-commits at lists.llvm.org
Tue Jan 17 22:35:52 PST 2023


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 346e1c43a11b8af5a818dac321f83f043862c1ec
      https://github.com/llvm/llvm-project/commit/346e1c43a11b8af5a818dac321f83f043862c1ec
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    M clang/test/Parser/cxx-undeclared-identifier.cpp
    M clang/test/Parser/recovery.cpp
    M clang/test/SemaCXX/invalid-template-params.cpp
    M clang/test/SemaCXX/rdar42746401.cpp

  Log Message:
  -----------
  Revert "nullptr returned from ActOnTag() is not a valid result"

This reverts commit 3925fbc80019f72bf3f5174736f348acfb5768b0.

Dependent commit to be reverted.


  Commit: 39da55e8f548a11f7dadefa73ea73d809a5f1729
      https://github.com/llvm/llvm-project/commit/39da55e8f548a11f7dadefa73ea73d809a5f1729
  Author: Arthur Eubanks <aeubanks at google.com>
  Date:   2023-01-17 (Tue, 17 Jan 2023)

  Changed paths:
    M clang/docs/LanguageExtensions.rst
    M clang/docs/ReleaseNotes.rst
    M clang/include/clang/Basic/DiagnosticGroups.td
    M clang/include/clang/Basic/DiagnosticParseKinds.td
    M clang/include/clang/Basic/DiagnosticSemaKinds.td
    M clang/include/clang/Parse/Parser.h
    M clang/include/clang/Parse/RAIIObjectsForParser.h
    M clang/include/clang/Sema/Sema.h
    M clang/lib/Parse/ParseDecl.cpp
    M clang/lib/Parse/ParseDeclCXX.cpp
    M clang/lib/Parse/ParseExpr.cpp
    M clang/lib/Sema/SemaDecl.cpp
    M clang/lib/Sema/SemaDeclCXX.cpp
    M clang/lib/Sema/SemaTemplate.cpp
    R clang/test/C/C2x/n2350.c
    M clang/test/C/drs/dr4xx.c
    M clang/test/CXX/drs/dr4xx.cpp
    M clang/test/Parser/declarators.c
    M clang/test/SemaCXX/offsetof.cpp

  Log Message:
  -----------
  Revert "Diagnose extensions in 'offsetof'"

This reverts commit f1f0a0d8e8fdd2e534d9423b2e64c6b8aaa53aee.

Causes crashes on

$ echo 'typedef int a; void c() { __builtin_offsetof(struct {a b}, b); }' | bin/clang -cc1 -emit-llvm -o /dev/null - -x c


Compare: https://github.com/llvm/llvm-project/compare/9bb7a38a6943...39da55e8f548


More information about the All-commits mailing list