[PATCH] D80977: Diagnose cases where the name of a class member is used within a class definition before the member name is declared.

Richard Smith - zygoloid via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Thu Dec 10 18:24:08 PST 2020


rsmith updated this revision to Diff 311085.
rsmith added a comment.

Rebase and fix test failure.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D80977

Files:
  clang/include/clang/Basic/DiagnosticGroups.td
  clang/include/clang/Basic/DiagnosticSemaKinds.td
  clang/include/clang/Parse/Parser.h
  clang/include/clang/Sema/Lookup.h
  clang/include/clang/Sema/Scope.h
  clang/include/clang/Sema/SemaInternal.h
  clang/lib/Parse/ParseCXXInlineMethods.cpp
  clang/lib/Parse/ParseDeclCXX.cpp
  clang/lib/Sema/Scope.cpp
  clang/lib/Sema/SemaDecl.cpp
  clang/lib/Sema/SemaDeclCXX.cpp
  clang/lib/Sema/SemaExprCXX.cpp
  clang/lib/Sema/SemaLookup.cpp
  clang/lib/Sema/SemaTemplate.cpp
  clang/test/CXX/basic/basic.scope/basic.scope.class/p2.cpp
  clang/test/CXX/dcl.dcl/dcl.spec/dcl.typedef/p4.cpp
  clang/test/CXX/drs/dr2xx.cpp
  clang/test/CXX/expr/expr.prim/expr.prim.general/p3-0x.cpp
  clang/test/Parser/cxx-ambig-init-templ.cpp
  clang/test/Parser/cxx0x-override-control-keywords.cpp
  clang/test/SemaTemplate/alias-templates.cpp
  clang/test/SemaTemplate/deduction-crash.cpp
  clang/test/SemaTemplate/instantiate-exception-spec-cxx11.cpp
  clang/test/SemaTemplate/ms-delayed-default-template-args.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D80977.311085.patch
Type: text/x-patch
Size: 42173 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20201211/5b4e56f1/attachment-0001.bin>


More information about the cfe-commits mailing list