Skip to content

clang: Disable source order sorting for now. #2558

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 6 commits into from
Jun 15, 2023
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion bindgen-tests/tests/expectations/tests/allowlist-file.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

43 changes: 43 additions & 0 deletions bindgen-tests/tests/expectations/tests/issue-2556.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bindgen-tests/tests/expectations/tests/jsval_layout_opaque.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions bindgen-tests/tests/expectations/tests/layout_arp.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 7 additions & 7 deletions bindgen-tests/tests/expectations/tests/layout_array.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 25 additions & 25 deletions bindgen-tests/tests/expectations/tests/layout_eth_conf.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 25 additions & 25 deletions bindgen-tests/tests/expectations/tests/layout_eth_conf_1_0.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions bindgen-tests/tests/expectations/tests/namespace.rs

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 4 additions & 0 deletions bindgen-tests/tests/headers/issue-2556.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
// bindgen-flags: --enable-cxx-namespaces -- -x c++ -Itests/headers -include tests/headers/issue-2556/nsStyleStruct.h -include tests/headers/issue-2556/LayoutConstants.h

#include "issue-2556/nsSize.h"
#include "issue-2556/nsStyleStruct.h"
7 changes: 7 additions & 0 deletions bindgen-tests/tests/headers/issue-2556/LayoutConstants.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
#include "nsSize.h"

namespace foo {

static constexpr nsSize kFallbackIntrinsicSize(0, 0);

}
6 changes: 6 additions & 0 deletions bindgen-tests/tests/headers/issue-2556/nsSize.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#pragma once

struct nsSize {
int width, height;
constexpr nsSize(int aWidth, int aHeight) : width(aWidth), height(aHeight) {}
};
3 changes: 3 additions & 0 deletions bindgen-tests/tests/headers/issue-2556/nsStyleStruct.h
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
#pragma once

#include "nsSize.h"
Loading