[clang] [DRAFT][analyzer][NFC] clang-format our folders (PR #82599)
Balazs Benics via cfe-commits
cfe-commits at lists.llvm.org
Thu Feb 22 01:59:26 PST 2024
================
@@ -48,17 +48,26 @@ class ConstructionContextItem {
LLVM_DUMP_METHOD static StringRef getKindAsString(ItemKind K) {
switch (K) {
- case VariableKind: return "construct into local variable";
- case NewAllocatorKind: return "construct into new-allocator";
- case ReturnKind: return "construct into return address";
- case MaterializationKind: return "materialize temporary";
- case TemporaryDestructorKind: return "destroy temporary";
- case ElidedDestructorKind: return "elide destructor";
- case ElidableConstructorKind: return "elide constructor";
- case ArgumentKind: return "construct into argument";
- case LambdaCaptureKind:
- return "construct into lambda captured variable";
- case InitializerKind: return "construct into member variable";
+ case VariableKind:
+ return "construct into local variable";
+ case NewAllocatorKind:
+ return "construct into new-allocator";
+ case ReturnKind:
+ return "construct into return address";
+ case MaterializationKind:
+ return "materialize temporary";
+ case TemporaryDestructorKind:
+ return "destroy temporary";
+ case ElidedDestructorKind:
+ return "elide destructor";
+ case ElidableConstructorKind:
+ return "elide constructor";
+ case ArgumentKind:
+ return "construct into argument";
+ case LambdaCaptureKind:
+ return "construct into lambda captured variable";
+ case InitializerKind:
+ return "construct into member variable";
----------------
steakhal wrote:
This hunk was aligned before, but I actually like the new format more.
https://github.com/llvm/llvm-project/pull/82599
More information about the cfe-commits
mailing list