Skip to content

Commit 5d196fc

Browse files
committed
lint runner
1 parent 139a467 commit 5d196fc

File tree

2 files changed

+22
-25
lines changed

2 files changed

+22
-25
lines changed

runtime/backend/interface.cpp

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -67,9 +67,9 @@ Result<const char*> get_backend_name(size_t index) {
6767
}
6868

6969
Error set_option(
70-
const char* backend_name,
71-
const executorch::runtime::Span<executorch::runtime::BackendOption>
72-
backend_options) {
70+
const char* backend_name,
71+
const executorch::runtime::Span<executorch::runtime::BackendOption>
72+
backend_options) {
7373
auto backend_class = get_backend_class(backend_name);
7474
if (!backend_class) {
7575
return Error::NotFound;
@@ -84,10 +84,10 @@ Error set_option(
8484
return Error::Ok;
8585
}
8686

87-
Error get_option(
88-
const char* backend_name,
89-
executorch::runtime::Span<executorch::runtime::BackendOption>
90-
backend_options) {
87+
Error get_option(
88+
const char* backend_name,
89+
executorch::runtime::Span<executorch::runtime::BackendOption>
90+
backend_options) {
9191
auto backend_class = get_backend_class(backend_name);
9292
if (!backend_class) {
9393
return Error::NotFound;

runtime/backend/interface.h

Lines changed: 15 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -183,21 +183,19 @@ size_t get_num_registered_backends();
183183
*/
184184
Result<const char*> get_backend_name(size_t index);
185185

186-
187186
/**
188-
* Sets backend options for a specific backend.
189-
*
190-
* @param backend_name The name of the backend to set options for
191-
* @param backend_options The backend option list containing the options
192-
* to set
193-
* @return Error::Ok on success, Error::NotFound if backend is not found, or
194-
* other error codes on failure
195-
*/
187+
* Sets backend options for a specific backend.
188+
*
189+
* @param backend_name The name of the backend to set options for
190+
* @param backend_options The backend option list containing the options
191+
* to set
192+
* @return Error::Ok on success, Error::NotFound if backend is not found, or
193+
* other error codes on failure
194+
*/
196195
Error set_option(
197-
const char* backend_name,
198-
const executorch::runtime::Span<executorch::runtime::BackendOption>
199-
backend_options);
200-
196+
const char* backend_name,
197+
const executorch::runtime::Span<executorch::runtime::BackendOption>
198+
backend_options);
201199

202200
/**
203201
* Retrieves backend options for a specific backend.
@@ -208,11 +206,10 @@ Error set_option(
208206
* @return Error::Ok on success, Error::NotFound if backend is not found, or
209207
* other error codes on failure
210208
*/
211-
Error get_option(
212-
const char* backend_name,
213-
executorch::runtime::Span<executorch::runtime::BackendOption>
214-
backend_options);
215-
209+
Error get_option(
210+
const char* backend_name,
211+
executorch::runtime::Span<executorch::runtime::BackendOption>
212+
backend_options);
216213

217214
} // namespace ET_RUNTIME_NAMESPACE
218215
} // namespace executorch

0 commit comments

Comments
 (0)