diff options
author | Kazu Hirata <kazu@google.com> | 2022-09-12 08:52:51 -0700 |
---|---|---|
committer | Kazu Hirata <kazu@google.com> | 2022-09-12 08:52:51 -0700 |
commit | 6394ad4421bcea87ac3112bfd41505d337a4e5b6 (patch) | |
tree | f34f045ca67086cb05b37d8357da17d4f582647e /llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp | |
parent | e4ee56b4e043710522e3d5ebb49cfbb5b6d52885 (diff) | |
download | llvm-6394ad4421bcea87ac3112bfd41505d337a4e5b6.zip llvm-6394ad4421bcea87ac3112bfd41505d337a4e5b6.tar.gz llvm-6394ad4421bcea87ac3112bfd41505d337a4e5b6.tar.bz2 |
[mlir] Fix deprecation warnings (NFC)
This patch fixes a couple of warnings by switching to has_value/value:
mlir/lib/Dialect/Vector/IR/VectorOps.cpp:529:28: error: 'hasValue'
is deprecated: Use has_value
instead. [-Werror,-Wdeprecated-declarations]
mlir/lib/Dialect/Vector/IR/VectorOps.cpp:533:48: error: 'getValue'
is deprecated: Use value
instead. [-Werror,-Wdeprecated-declarations]
Diffstat (limited to 'llvm/lib/CodeGen/AsmPrinter/CodeViewDebug.cpp')
0 files changed, 0 insertions, 0 deletions