[all-commits] [llvm/llvm-project] 23fbfb: [clang][AST] RecursiveASTVisitor should visit owne...
Balázs Kéri via All-commits
all-commits at lists.llvm.org
Tue Aug 23 00:16:56 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 23fbfb3f725ba3afca65bec04d81826d60cf7fbc
https://github.com/llvm/llvm-project/commit/23fbfb3f725ba3afca65bec04d81826d60cf7fbc
Author: Balázs Kéri <1.int32 at gmail.com>
Date: 2022-08-23 (Tue, 23 Aug 2022)
Changed paths:
M clang/include/clang/AST/RecursiveASTVisitor.h
M clang/unittests/AST/ASTContextParentMapTest.cpp
Log Message:
-----------
[clang][AST] RecursiveASTVisitor should visit owned TagDecl of friend type.
A FriendDecl node can have a friend record type that owns a RecordDecl
object. This object is different than the one got from TypeSourceInfo
object of the FriendDecl. When building a ParentMapContext this owned
tag decaration has to be encountered to have the parent set for it.
Reviewed By: sammccall
Differential Revision: https://reviews.llvm.org/D131685
More information about the All-commits
mailing list