Skip to content

Commit 5f77bb9

Browse files
Merge pull request #9329 from adrian-prantl/136231681
[lldb] Add #include guards in tests
2 parents 1048c1b + 2d3f996 commit 5f77bb9

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

lldb/test/API/lang/swift/clangimporter/anonymous-clang-types/bridging-header.h

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
1+
#ifndef BRIDGING_HEADER
2+
#define BRIDGING_HEADER
23
typedef struct TwoAnonymousStructs {
34
struct {
45
float x;
@@ -35,3 +36,4 @@ typedef struct TwoAnonymousUnions {
3536

3637
TwoAnonymousStructs makeTwoAnonymousStructs();
3738
TwoAnonymousUnions makeTwoAnonymousUnions();
39+
#endif
Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
#ifndef C_HEADER
2+
#define C_HEADER
13
struct Point {
24
int x, y;
35
};
6+
#endif

0 commit comments

Comments
 (0)