[PATCH] D86744: [Attributes] Add a method to check if an Attribute has AttrKind None. Use instead of hasAttribute(Attribute::None)
Craig Topper via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Aug 27 20:45:48 PDT 2020
craig.topper updated this revision to Diff 288526.
craig.topper added a comment.
Herald added a subscriber: jrtc27.
Rename to isValid and switch the polarity.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D86744/new/
https://reviews.llvm.org/D86744
Files:
llvm/include/llvm/IR/Attributes.h
llvm/lib/CodeGen/XRayInstrumentation.cpp
llvm/lib/IR/AttributeImpl.h
llvm/lib/IR/Attributes.cpp
llvm/lib/Target/AArch64/AArch64TargetMachine.cpp
llvm/lib/Target/AMDGPU/AMDGPUTargetMachine.cpp
llvm/lib/Target/ARM/ARMTargetMachine.cpp
llvm/lib/Target/Hexagon/HexagonTargetMachine.cpp
llvm/lib/Target/Mips/MipsTargetMachine.cpp
llvm/lib/Target/PowerPC/PPCTargetMachine.cpp
llvm/lib/Target/RISCV/RISCVTargetMachine.cpp
llvm/lib/Target/Sparc/SparcTargetMachine.cpp
llvm/lib/Target/SystemZ/SystemZTargetMachine.cpp
llvm/lib/Target/WebAssembly/WebAssemblyTargetMachine.cpp
llvm/lib/Target/X86/X86TargetMachine.cpp
llvm/lib/Transforms/IPO/LowerTypeTests.cpp
llvm/lib/Transforms/IPO/WholeProgramDevirt.cpp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D86744.288526.patch
Type: text/x-patch
Size: 14500 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20200828/7624cc75/attachment-0001.bin>
More information about the llvm-commits
mailing list