Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
PaddlePaddle
Paddle
提交
98baedaf
P
Paddle
项目概览
PaddlePaddle
/
Paddle
大约 1 年 前同步成功
通知
2298
Star
20931
Fork
5422
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
1423
列表
看板
标记
里程碑
合并请求
543
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
P
Paddle
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
1,423
Issue
1,423
列表
看板
标记
里程碑
合并请求
543
合并请求
543
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
未验证
提交
98baedaf
编写于
9月 07, 2023
作者:
C
cyberslack_lee
提交者:
GitHub
9月 07, 2023
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
[clang-tidy] NO.25 modernize-deprecated-headers(#56994)
上级
2fbebfd8
变更
27
隐藏空白更改
内联
并排
Showing
27 changed file
with
28 addition
and
28 deletion
+28
-28
.clang-tidy
.clang-tidy
+1
-1
paddle/fluid/framework/data_feed_factory.cc
paddle/fluid/framework/data_feed_factory.cc
+1
-1
paddle/fluid/framework/device_worker_factory.cc
paddle/fluid/framework/device_worker_factory.cc
+1
-1
paddle/fluid/framework/ir/mkldnn/compute_propagate_scales_mkldnn_pass.cc
...amework/ir/mkldnn/compute_propagate_scales_mkldnn_pass.cc
+1
-1
paddle/fluid/framework/lod_tensor.cc
paddle/fluid/framework/lod_tensor.cc
+1
-1
paddle/fluid/framework/pull_dense_worker.cc
paddle/fluid/framework/pull_dense_worker.cc
+1
-1
paddle/fluid/framework/section_worker.cc
paddle/fluid/framework/section_worker.cc
+1
-1
paddle/fluid/framework/trainer_factory.cc
paddle/fluid/framework/trainer_factory.cc
+1
-1
paddle/fluid/imperative/data_loader.cc
paddle/fluid/imperative/data_loader.cc
+1
-1
paddle/fluid/memory/allocation/cpu_allocator.cc
paddle/fluid/memory/allocation/cpu_allocator.cc
+1
-1
paddle/fluid/memory/allocation/cuda_ipc_allocator.cc
paddle/fluid/memory/allocation/cuda_ipc_allocator.cc
+1
-1
paddle/fluid/memory/allocation/mmap_allocator.cc
paddle/fluid/memory/allocation/mmap_allocator.cc
+1
-1
paddle/fluid/operators/detection/generate_mask_labels_op.cc
paddle/fluid/operators/detection/generate_mask_labels_op.cc
+1
-1
paddle/fluid/operators/detection/mask_util.cc
paddle/fluid/operators/detection/mask_util.cc
+2
-2
paddle/fluid/operators/save_op.cc
paddle/fluid/operators/save_op.cc
+1
-1
paddle/fluid/platform/gen_comm_id_helper.cc
paddle/fluid/platform/gen_comm_id_helper.cc
+1
-1
paddle/fluid/platform/profiler/event_node.cc
paddle/fluid/platform/profiler/event_node.cc
+1
-1
paddle/fluid/prim/api/manual_prim/static_prim_api.cc
paddle/fluid/prim/api/manual_prim/static_prim_api.cc
+1
-1
paddle/phi/kernels/cpu/lstsq_kernel.cc
paddle/phi/kernels/cpu/lstsq_kernel.cc
+1
-1
paddle/phi/kernels/cpu/trunc_kernel.cc
paddle/phi/kernels/cpu/trunc_kernel.cc
+1
-1
paddle/phi/kernels/funcs/jit/gen/adam.cc
paddle/phi/kernels/funcs/jit/gen/adam.cc
+1
-1
paddle/phi/kernels/funcs/jit/gen/adamw.cc
paddle/phi/kernels/funcs/jit/gen/adamw.cc
+1
-1
paddle/phi/kernels/funcs/jit/gen/embseqpool.cc
paddle/phi/kernels/funcs/jit/gen/embseqpool.cc
+1
-1
paddle/phi/kernels/funcs/jit/gen/gru.cc
paddle/phi/kernels/funcs/jit/gen/gru.cc
+1
-1
paddle/phi/kernels/funcs/jit/gen/lstm.cc
paddle/phi/kernels/funcs/jit/gen/lstm.cc
+1
-1
paddle/phi/kernels/funcs/jit/gen/matmul.cc
paddle/phi/kernels/funcs/jit/gen/matmul.cc
+1
-1
paddle/phi/kernels/funcs/jit/gen/sgd.cc
paddle/phi/kernels/funcs/jit/gen/sgd.cc
+1
-1
未找到文件。
.clang-tidy
浏览文件 @
98baedaf
...
...
@@ -167,7 +167,7 @@ misc-unused-alias-decls,
misc-unused-using-decls,
modernize-avoid-bind,
modernize-avoid-c-arrays,
-
modernize-deprecated-headers,
modernize-deprecated-headers,
-modernize-deprecated-ios-base-aliases,
modernize-loop-convert,
modernize-make-shared,
...
...
paddle/fluid/framework/data_feed_factory.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@ limitations under the License. */
#include "paddle/fluid/framework/data_feed_factory.h"
#include <
stdlib.h
>
#include <
cstdlib
>
#include <memory>
#include <string>
...
...
paddle/fluid/framework/device_worker_factory.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@ limitations under the License. */
#include "paddle/fluid/framework/device_worker_factory.h"
#include <
stdlib.h
>
#include <
cstdlib
>
#include <memory>
#include <string>
...
...
paddle/fluid/framework/ir/mkldnn/compute_propagate_scales_mkldnn_pass.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@
#include "paddle/fluid/framework/ir/mkldnn/compute_propagate_scales_mkldnn_pass.h"
#include <
float.h
>
#include <
cfloat
>
#include <algorithm>
...
...
paddle/fluid/framework/lod_tensor.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@ limitations under the License. */
#include "paddle/fluid/framework/lod_tensor.h"
#include <
stdint.h
>
#include <
cstdint
>
#include "paddle/fluid/framework/convert_utils.h"
#include "paddle/fluid/framework/version.h"
...
...
paddle/fluid/framework/pull_dense_worker.cc
浏览文件 @
98baedaf
...
...
@@ -11,7 +11,7 @@ distributed under the License is distributed on an "AS IS" BASIS,
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include <
time.h
>
#include <
ctime
>
#include "paddle/fluid/framework/device_worker.h"
...
...
paddle/fluid/framework/section_worker.cc
浏览文件 @
98baedaf
...
...
@@ -10,7 +10,7 @@ See the License for the specific language governing permissions and
limitations under the License. */
#if defined(PADDLE_WITH_NCCL) || defined(PADDLE_WITH_RCCL)
#include <
float.h
>
#include <
cfloat
>
#include "paddle/fluid/framework/device_worker.h"
#include "paddle/fluid/framework/executor_gc_helper.h"
...
...
paddle/fluid/framework/trainer_factory.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@ limitations under the License. */
#include "paddle/fluid/framework/trainer_factory.h"
#include <
stdlib.h
>
#include <
cstdlib
>
#include <memory>
#include <string>
...
...
paddle/fluid/imperative/data_loader.cc
浏览文件 @
98baedaf
...
...
@@ -16,9 +16,9 @@
#include "paddle/fluid/imperative/data_loader.h"
#include <stdlib.h>
#include <sys/wait.h>
#include <unistd.h>
#include <cstdlib>
#include <csignal>
...
...
paddle/fluid/memory/allocation/cpu_allocator.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@
#include "paddle/fluid/memory/allocation/cpu_allocator.h"
#include <
stdlib.h
>
#include <
cstdlib
>
#include "paddle/fluid/memory/stats.h"
#include "paddle/fluid/platform/enforce.h"
...
...
paddle/fluid/memory/allocation/cuda_ipc_allocator.cc
浏览文件 @
98baedaf
...
...
@@ -17,8 +17,8 @@
#include "paddle/fluid/memory/allocation/cuda_ipc_allocator.h"
#include <fcntl.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <cstdlib>
#include <random>
#include <string>
...
...
paddle/fluid/memory/allocation/mmap_allocator.cc
浏览文件 @
98baedaf
...
...
@@ -17,8 +17,8 @@
#include "paddle/fluid/memory/allocation/mmap_allocator.h"
#include <fcntl.h>
#include <stdlib.h>
#include <sys/mman.h>
#include <cstdlib>
#include <atomic>
#include <random>
...
...
paddle/fluid/operators/detection/generate_mask_labels_op.cc
浏览文件 @
98baedaf
...
...
@@ -9,7 +9,7 @@ WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
See the License for the specific language governing permissions and
limitations under the License. */
#include <
math.
h>
#include <
cmat
h>
#include <algorithm>
#include <string>
...
...
paddle/fluid/operators/detection/mask_util.cc
浏览文件 @
98baedaf
...
...
@@ -14,8 +14,8 @@ limitations under the License. */
#include "paddle/fluid/operators/detection/mask_util.h"
#include <
math.
h>
#include <
stdlib.h
>
#include <
cmat
h>
#include <
cstdlib
>
#include "paddle/fluid/memory/memory.h"
...
...
paddle/fluid/operators/save_op.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@ limitations under the License. */
#include "paddle/fluid/operators/save_op.h"
#include <
stdint.h
>
#include <
cstdint
>
#include <fstream>
#include <numeric>
...
...
paddle/fluid/platform/gen_comm_id_helper.cc
浏览文件 @
98baedaf
...
...
@@ -19,8 +19,8 @@ limitations under the License. */
#include <arpa/inet.h>
#include <netdb.h>
#include <netinet/in.h>
#include <stdlib.h>
#include <sys/socket.h>
#include <cstdlib>
#include <algorithm>
#include <array>
...
...
paddle/fluid/platform/profiler/event_node.cc
浏览文件 @
98baedaf
...
...
@@ -11,7 +11,7 @@ limitations under the License. */
#include "paddle/fluid/platform/profiler/event_node.h"
#include <
limits.h
>
#include <
climits
>
#include <algorithm>
#include <deque>
...
...
paddle/fluid/prim/api/manual_prim/static_prim_api.cc
浏览文件 @
98baedaf
...
...
@@ -12,7 +12,7 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <
string.h
>
#include <
cstring
>
#include <memory>
#include <sstream>
#include <string>
...
...
paddle/phi/kernels/cpu/lstsq_kernel.cc
浏览文件 @
98baedaf
...
...
@@ -12,8 +12,8 @@
// See the License for the specific language governing permissions and
// limitations under the License.
#include <math.h>
#include <algorithm>
#include <cmath>
#include <complex>
#include "paddle/phi/backends/cpu/cpu_context.h"
...
...
paddle/phi/kernels/cpu/trunc_kernel.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@
#include "paddle/phi/kernels/trunc_kernel.h"
#include <
math.
h>
#include <
cmat
h>
#include "paddle/phi/backends/cpu/cpu_context.h"
#include "paddle/phi/core/kernel_registry.h"
...
...
paddle/phi/kernels/funcs/jit/gen/adam.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@
#include "paddle/phi/kernels/funcs/jit/gen/adam.h"
#include <
stddef.h
> // offsetof
#include <
cstddef
> // offsetof
#include "paddle/phi/backends/cpu/cpu_info.h"
#include "paddle/phi/kernels/funcs/jit/registry.h"
...
...
paddle/phi/kernels/funcs/jit/gen/adamw.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@
#include "paddle/phi/kernels/funcs/jit/gen/adamw.h"
#include <
stddef.h
> // offsetof
#include <
cstddef
> // offsetof
#include "paddle/phi/backends/cpu/cpu_info.h"
#include "paddle/phi/kernels/funcs/jit/registry.h"
...
...
paddle/phi/kernels/funcs/jit/gen/embseqpool.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@
#include "paddle/phi/kernels/funcs/jit/gen/embseqpool.h"
#include <
stddef.h
> // offsetof
#include <
cstddef
> // offsetof
#include "paddle/phi/backends/cpu/cpu_info.h"
#include "paddle/phi/kernels/funcs/jit/macro.h"
...
...
paddle/phi/kernels/funcs/jit/gen/gru.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@
#include "paddle/phi/kernels/funcs/jit/gen/gru.h"
#include <
stddef.h
> // offsetof
#include <
cstddef
> // offsetof
#include "paddle/phi/backends/cpu/cpu_info.h"
#include "paddle/phi/kernels/funcs/jit/macro.h"
...
...
paddle/phi/kernels/funcs/jit/gen/lstm.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@
#include "paddle/phi/kernels/funcs/jit/gen/lstm.h"
#include <
stddef.h
> // offsetof
#include <
cstddef
> // offsetof
#include "paddle/phi/backends/cpu/cpu_info.h"
#include "paddle/phi/kernels/funcs/jit/macro.h"
...
...
paddle/phi/kernels/funcs/jit/gen/matmul.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@
#include "paddle/phi/kernels/funcs/jit/gen/matmul.h"
#include <
stddef.h
> // offsetof
#include <
cstddef
> // offsetof
#include "paddle/phi/backends/cpu/cpu_info.h"
#include "paddle/phi/kernels/funcs/jit/registry.h"
...
...
paddle/phi/kernels/funcs/jit/gen/sgd.cc
浏览文件 @
98baedaf
...
...
@@ -14,7 +14,7 @@
#include "paddle/phi/kernels/funcs/jit/gen/sgd.h"
#include <
stddef.h
> // offsetof
#include <
cstddef
> // offsetof
#include "paddle/phi/backends/cpu/cpu_info.h"
#include "paddle/phi/kernels/funcs/jit/registry.h"
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录