[PATCH] D112765: [AST] injected-class-name is not a redecl, even in template specializations

Sam McCall via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Fri Oct 29 07:52:34 PDT 2021


sammccall updated this revision to Diff 383351.
sammccall added a comment.

Add a comment, remove some unneccesary special cases from traversals.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D112765

Files:
  clang-tools-extra/test/clang-tidy/checkers/cppcoreguidelines-virtual-class-destructor.cpp
  clang/include/clang/AST/RecursiveASTVisitor.h
  clang/lib/AST/ASTDumper.cpp
  clang/lib/Sema/SemaTemplateInstantiateDecl.cpp
  clang/test/AST/ast-dump-decl.cpp
  clang/test/AST/ast-dump-openmp-begin-declare-variant_reference.cpp
  clang/test/AST/ast-dump-openmp-begin-declare-variant_template_3.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D112765.383351.patch
Type: text/x-patch
Size: 13282 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20211029/6216f09d/attachment.bin>


More information about the cfe-commits mailing list