[all-commits] [llvm/llvm-project] 8a53b2: [AMDGPU] Use default member initializers in Subtar...
Jay Foad via All-commits
all-commits at lists.llvm.org
Tue Apr 12 08:45:10 PDT 2022
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 8a53b25ed55e88d576f712c306dce5ae7dbe1033
https://github.com/llvm/llvm-project/commit/8a53b25ed55e88d576f712c306dce5ae7dbe1033
Author: Jay Foad <jay.foad at amd.com>
Date: 2022-04-12 (Tue, 12 Apr 2022)
Changed paths:
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.cpp
M llvm/lib/Target/AMDGPU/AMDGPUSubtarget.h
M llvm/lib/Target/AMDGPU/GCNSubtarget.h
M llvm/lib/Target/AMDGPU/R600Subtarget.cpp
M llvm/lib/Target/AMDGPU/R600Subtarget.h
Log Message:
-----------
[AMDGPU] Use default member initializers in Subtarget classes
Use default member initializers in AMDGPUSubtarget and subclasses. This
is to guard against adding a new feature boolean in AMDGPUSubtarget.h
but forgetting to initialize it to false in AMDGPUSubtarget.cpp.
This was mostly autogenerated by:
clang-tidy -checks=-*,cppcoreguidelines-prefer-member-initializer,modernize-use-default-member-init -header-filter=Subtarget -fix lib/Target/AMDGPU/*Subtarget.cpp
Differential Revision: https://reviews.llvm.org/D123613
More information about the All-commits
mailing list