Commit 3c0ca766 authored by Ng Zhi An's avatar Ng Zhi An Committed by Commit Bot

[clang-tidy] Use explicit default

This default constructor is used in a couple of places (e.g. compilation-cache.cc) to hold a default value that is later overwritten.
See
https://chromium.googlesource.com/chromium/src/+/HEAD/styleguide/c++/c++-dos-and-donts.md#prefer-to-use.

Bug: v8:10488
Change-Id: Ibe4741cebdcf7c350580de3e6b0bd10fd8b7be73
Reviewed-on: https://chromium-review.googlesource.com/c/v8/v8/+/2240504Reviewed-by: 's avatarJakob Kummerow <jkummerow@chromium.org>
Commit-Queue: Zhi An Ng <zhin@chromium.org>
Cr-Commit-Position: refs/heads/master@{#68327}
parent d1aee56d
......@@ -42,7 +42,7 @@ class CompilationCacheShape : public BaseShape<HashTableKey*> {
class InfoCellPair {
public:
InfoCellPair() {}
InfoCellPair() = default;
inline InfoCellPair(SharedFunctionInfo shared, FeedbackCell feedback_cell);
FeedbackCell feedback_cell() const {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment