Skip to content

Commit ccef021

Browse files
committed
[gardening] Fix style inconsistencies.
Some places in this header were following the LLVM convention of: namespace ... { struct Foo { }; } and one-two places had extra indentation. I standardized the code on the LLVM convention.
1 parent 43c5acb commit ccef021

File tree

1 file changed

+10
-8
lines changed

1 file changed

+10
-8
lines changed

stdlib/public/runtime/ImageInspection.h

Lines changed: 10 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -25,13 +25,14 @@
2525
#include <cstdint>
2626

2727
namespace swift {
28-
// This is a platform independent version of Dl_info from dlfcn.h
29-
struct SymbolInfo {
30-
const char *fileName;
31-
void *baseAddress;
32-
const char *symbolName;
33-
void *symbolAddress;
34-
};
28+
29+
/// This is a platform independent version of Dl_info from dlfcn.h
30+
struct SymbolInfo {
31+
const char *fileName;
32+
void *baseAddress;
33+
const char *symbolName;
34+
void *symbolAddress;
35+
};
3536

3637
/// Load the metadata from the image necessary to find a type's
3738
/// protocol conformance.
@@ -48,6 +49,7 @@ void addImageTypeMetadataRecordBlockCallback(const void *start,
4849
uintptr_t size);
4950

5051
int lookupSymbol(const void *address, SymbolInfo *info);
52+
5153
} // end namespace swift
5254

53-
#endif // SWIFT_RUNTIME_IMAGE_INSPECTION_H
55+
#endif

0 commit comments

Comments
 (0)