[PATCH] D154764: [clang] ASTImport: force recomputing ASTRecordLayout when importing
Ding Fei via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Sat Jul 8 04:26:03 PDT 2023
danix800 created this revision.
danix800 added a project: clang.
Herald added a subscriber: martong.
Herald added a project: All.
danix800 requested review of this revision.
Herald added a subscriber: cfe-commits.
RecordLayout is cached for RecordDecl. Force recomputing in case staled one is returned when importing.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D154764
Files:
clang/include/clang/AST/ASTContext.h
clang/lib/AST/ExprConstant.cpp
clang/lib/AST/RecordLayoutBuilder.cpp
clang/test/Analysis/astimport-force-relayout/Inputs/api.cc
clang/test/Analysis/astimport-force-relayout/Inputs/externalDefMap.txt
clang/test/Analysis/astimport-force-relayout/Inputs/v8.h
clang/test/Analysis/astimport-force-relayout/date.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D154764.538349.patch
Type: text/x-patch
Size: 5635 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20230708/62abb47d/attachment.bin>
More information about the cfe-commits
mailing list