Skip to content

Commit 3624376

Browse files
gandalf2390facebook-github-bot
authored andcommitted
Apply the CLANGFORMAT linter to fbcode/tools/**.
Summary: Context: FBCode doesn't enable CLANGFORMAT linter over the entire repo because too many files currently don't conform to it. This is an attempt to migrate folder paths to use CLANGFORMAT conventions. Post: https://fb.workplace.com/groups/fbcode.fyi/permalink/4213072448728524/ Doc: https://fburl.com/clangformat-for-fbcode Actions: Please check the formatting recommendations and accept if they seem ok, or reply if there is a reason for concern. NOLINT or NOLINTNEXTLINE have been added at places where linter errors were found. Please fix these when its convenient. Command run: ``` arc lint --take CLANGFORMAT -a --paths-cmd 'hg files tools/**' ``` Reviewed By: zertosh Differential Revision: D30304069 fbshipit-source-id: 74696120dcfd559d41d131b0b42c963db95d61c1
1 parent 1e4dd5a commit 3624376

File tree

9 files changed

+643
-739
lines changed

9 files changed

+643
-739
lines changed

source/hack_parallel/hack_parallel/heap/hh_assert.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,6 @@
1111
#include <caml/callback.h>
1212
#include <caml/fail.h>
1313

14-
void raise_assertion_failure(char * msg) {
14+
void raise_assertion_failure(char* msg) {
1515
caml_raise_with_string(*caml_named_value("c_assertion_failure"), msg);
1616
}

source/hack_parallel/hack_parallel/heap/hh_assert.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,7 +7,7 @@
77

88
#ifndef HH_ASSERT_H
99
#define HH_ASSERT_H
10-
void raise_assertion_failure(char * msg);
10+
void raise_assertion_failure(char* msg);
1111

1212
/**
1313
* Concatenate the __LINE__ and __FILE__ strings in a macro.

0 commit comments

Comments
 (0)