[CodeFormat] Clang-format cpp sources (#4965)

Clang-format all c++ source files.
This commit is contained in:
sduzh
2020-11-28 18:36:49 +08:00
committed by GitHub
parent f944bf4d44
commit 6fedf5881b
1331 changed files with 62548 additions and 68514 deletions

17
be/test/plugin/example/plugin_example.cpp Executable file → Normal file
View File

@ -21,12 +21,12 @@
namespace doris {
int init(void *) {
int init(void*) {
std::cout << "this is init" << std::endl;
return 1;
}
int close(void *) {
int close(void*) {
std::cout << "this is close" << std::endl;
return 2;
}
@ -34,18 +34,11 @@ int close(void *) {
#ifdef __cplusplus
extern "C" {
#endif
declare_plugin(PluginExample) {
nullptr,
&init,
&close,
3,
nullptr,
nullptr
} declare_plugin_end
declare_plugin(PluginExample){nullptr, &init, &close, 3, nullptr, nullptr} declare_plugin_end
#ifdef __cplusplus
}
#endif
}
} // namespace doris