Skip to content

Standardize header guards #518

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 10 commits into from
Jul 8, 2021
Merged

Conversation

jonsimantov
Copy link
Contributor

@jonsimantov jonsimantov commented Jul 8, 2021

Standardize header guards, and turn on lint warnings for bad header guard names and line length, which were previously disabled. Includes a small fix to replace " with " in the lint output, for HTML compatibility.

This also turns off the "include subdirectory" and "whitespace/indent" lint warnings as they are extraneous.

@google-cla google-cla bot added the cla: yes label Jul 8, 2021
@jonsimantov jonsimantov requested a review from DellaBitta July 8, 2021 00:51
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Jul 8, 2021
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. and removed tests-requested: quick Trigger a quick set of integration tests. labels Jul 8, 2021
@github-actions
Copy link

github-actions bot commented Jul 8, 2021

❌  Integration test FAILED

Requested by @jonsimantov on commit 7843318
Last updated: Thu Jul 8 17:17 PDT 2021
View integration test log & download artifacts

Failures Configs
auth [TEST] [ERROR] [Android] [macos] [emulator_target]
firestore [TEST] [ERROR] [Android] [windows, macos] [emulator_target]

@github-actions github-actions bot added the tests: failed This PR's integration tests failed. label Jul 8, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Jul 8, 2021
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Jul 8, 2021
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. tests: failed This PR's integration tests failed. and removed tests-requested: quick Trigger a quick set of integration tests. tests: failed This PR's integration tests failed. labels Jul 8, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Jul 8, 2021
@jonsimantov jonsimantov added the tests-requested: quick Trigger a quick set of integration tests. label Jul 8, 2021
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. and removed tests-requested: quick Trigger a quick set of integration tests. tests: failed This PR's integration tests failed. labels Jul 8, 2021
@jonsimantov jonsimantov removed the tests: in-progress This PR's integration tests are in progress. label Jul 8, 2021
@jonsimantov jonsimantov merged commit 7843318 into main Jul 8, 2021
@jonsimantov jonsimantov deleted the bugfix/standardize-header-guards branch July 8, 2021 22:13
@github-actions github-actions bot added tests: in-progress This PR's integration tests are in progress. tests: failed This PR's integration tests failed. labels Jul 8, 2021
@firebase-workflow-trigger firebase-workflow-trigger bot removed the tests: in-progress This PR's integration tests are in progress. label Jul 9, 2021
#ifndef FIREBASE_APP_CLIENT_CPP_SRC_INCLUDE_FIREBASE_APP_H_
#define FIREBASE_APP_CLIENT_CPP_SRC_INCLUDE_FIREBASE_APP_H_
#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_APP_H_
#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_APP_H_

Copy link
Contributor Author

Choose a reason for hiding this comment

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

📝 Documentation issue: warning: argument 'confirg' of command @param is not found in the argument list of firebase::AppOptions::LoadFromJsonConfig(const char *config, AppOptions *options=nullptr)

#ifndef FIREBASE_APP_CLIENT_CPP_SRC_INCLUDE_FIREBASE_APP_H_
#define FIREBASE_APP_CLIENT_CPP_SRC_INCLUDE_FIREBASE_APP_H_
#ifndef FIREBASE_APP_SRC_INCLUDE_FIREBASE_APP_H_
#define FIREBASE_APP_SRC_INCLUDE_FIREBASE_APP_H_

#include "firebase/internal/platform.h"

Copy link
Contributor Author

Choose a reason for hiding this comment

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

📝 Documentation issue: [8 lines down] warning: The following parameter of firebase::AppOptions::LoadFromJsonConfig(const char *config, AppOptions *options=nullptr) is not documented:
parameter 'config'

@firebase firebase locked and limited conversation to collaborators Aug 8, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
cla: yes tests: failed This PR's integration tests failed.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants