[PATCH] D132147: [clang][dataflow] Refactor `TestingSupport.h`
weiyi via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Aug 31 08:35:56 PDT 2022
wyt updated this revision to Diff 456978.
wyt added a comment.
Herald added subscribers: llvm-commits, mgrang, mgorny.
Herald added a project: LLVM.
Remove use of designated initializers which are only allowed on C++20. Instead, introduce a constructor that sets required fields, and `withFieldName` methods that sets optional fields when constructing an `AnalysisInputs` struct.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D132147/new/
https://reviews.llvm.org/D132147
Files:
clang/unittests/Analysis/FlowSensitive/TestingSupport.cpp
clang/unittests/Analysis/FlowSensitive/TestingSupport.h
clang/unittests/Analysis/FlowSensitive/TransferTest.cpp
clang/unittests/Analysis/FlowSensitive/TypeErasedDataflowAnalysisTest.cpp
llvm/include/llvm/ADT/StringMapEntry.h
llvm/include/llvm/Testing/ADT/StringMap.h
llvm/include/llvm/Testing/ADT/StringMapEntry.h
llvm/unittests/Testing/ADT/CMakeLists.txt
llvm/unittests/Testing/ADT/StringMapEntryTest.cpp
llvm/unittests/Testing/ADT/StringMapTest.cpp
llvm/unittests/Testing/CMakeLists.txt
utils/bazel/llvm-project-overlay/llvm/BUILD.bazel
utils/bazel/llvm-project-overlay/llvm/unittests/BUILD.bazel
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D132147.456978.patch
Type: text/x-patch
Size: 68816 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220831/ab88de79/attachment-0001.bin>
More information about the cfe-commits
mailing list