Skip to content

Format Firestore source code with clang-format #477

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 2 commits into from
Jun 17, 2021

Conversation

dconeybe
Copy link
Contributor

No description provided.

@dconeybe dconeybe self-assigned this Jun 16, 2021
@google-cla google-cla bot added the cla: yes label Jun 16, 2021
wu-hui
wu-hui previously approved these changes Jun 16, 2021
@@ -37,7 +37,8 @@ class DocumentReferenceInternal : public Wrapper {

DocumentReferenceInternal(FirestoreInternal* firestore,
const jni::Object& object)
: Wrapper(firestore, object), promises_(firestore) {}
: Wrapper(firestore, object), promises_(firestore) {
}
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I prefer the old way.

Can you find out which config we can use to get the old way? I am OK to leave it if it takes you more than 10 minutes.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Done. I just had to remove AllowShortFunctionsOnASingleLine: None from firestore/.clang-format.

AllowShortFunctionsOnASingleLine: None

@dconeybe dconeybe requested a review from wu-hui June 16, 2021 19:15
@dconeybe dconeybe assigned wu-hui and unassigned dconeybe Jun 16, 2021
@dconeybe dconeybe enabled auto-merge (squash) June 17, 2021 13:29
@dconeybe dconeybe merged commit ce5aa57 into main Jun 17, 2021
@github-actions github-actions bot added the tests: in-progress This PR's integration tests are in progress. label Jun 17, 2021
@github-actions
Copy link

github-actions bot commented Jun 17, 2021

✅  Integration test succeeded!

Requested by @dconeybe on commit ce5aa57
Last updated: Thu Jun 17 09:25 PDT 2021
View integration test log & download artifacts

@dconeybe dconeybe deleted the dconeybe/FormatFirestoreSourceCode branch June 17, 2021 14:40
@dconeybe dconeybe assigned dconeybe and unassigned wu-hui Jun 17, 2021
@github-actions github-actions bot added the tests: succeeded This PR's integration tests succeeded. label Jun 17, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Jun 17, 2021
@firebase firebase locked and limited conversation to collaborators Jul 18, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
api: firestore cla: yes tests: succeeded This PR's integration tests succeeded.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants