[PATCH] D101425: Make LValuePathEntry a discriminated union
Serge Pavlov via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 28 00:26:36 PDT 2021
sepavloff created this revision.
sepavloff added reviewers: rsmith, rjmccall, varungandhi-apple, Tyker, EricWF, george.burgess.iv, nand.
Herald added a subscriber: martong.
Herald added a reviewer: shafik.
sepavloff requested review of this revision.
Herald added a project: clang.
APValue::LValuePathEntry was implemented as non-discriminated union. It
complicated operations on it and inspection in debugger. This change
turns it into discriminated union.
No functional changed intended.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D101425
Files:
clang/include/clang/AST/APValue.h
clang/include/clang/AST/AbstractBasicReader.h
clang/include/clang/AST/AbstractBasicWriter.h
clang/lib/AST/APValue.cpp
clang/lib/AST/ASTImporter.cpp
clang/lib/AST/ExprConstant.cpp
clang/lib/AST/Interp/Pointer.cpp
clang/lib/AST/ItaniumMangle.cpp
clang/lib/AST/MicrosoftMangle.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101425.341083.patch
Type: text/x-patch
Size: 21037 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210428/ecb5228a/attachment-0001.bin>
More information about the cfe-commits
mailing list