summaryrefslogtreecommitdiff
path: root/lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
diff options
context:
space:
mode:
authorHan-Chung Wang <hanhan0912@gmail.com>2025-01-21 21:23:32 -0800
committerGitHub <noreply@github.com>2025-01-21 21:23:32 -0800
commit9cbc1f29cabc01c02a523c11d098c00650f6955c (patch)
tree1c60c72572ee799f8015fbaaf6fc0210927d9eb7 /lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp
parent3bd8b02aa0c5fcbb005f6d72f58f4a05421e7823 (diff)
[mlir][NFC] Avoid using braced initializer lists to call a constructor. (#123714)
In the LLVM style guide, we prefer not using braced initializer lists to call a constructor. Also, we prefer using an equal before the open curly brace if we use a braced initializer list when initializing a variable. See https://llvm.org/docs/CodingStandards.html#do-not-use-braced-initializer-lists-to-call-a-constructor for more details. The style guide does not explain the reason well. There is an article from abseil, which mentions few benefits. E.g., we can avoid the most vexing parse, etc. See https://abseil.io/tips/88 for more details. Signed-off-by: hanhanW <hanhan0912@gmail.com>
Diffstat (limited to 'lldb/source/Plugins/Process/scripted/ScriptedProcess.cpp')
0 files changed, 0 insertions, 0 deletions