[all-commits] [llvm/llvm-project] 48df94: [NFC] Suppress spurious deprecation warning with M...
Jeremy Morse via All-commits
all-commits at lists.llvm.org
Tue Jan 28 07:56:07 PST 2025
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 48df9480dab57f99aa466ade1df6c46e71da25b5
https://github.com/llvm/llvm-project/commit/48df9480dab57f99aa466ade1df6c46e71da25b5
Author: Jeremy Morse <jeremy.morse at sony.com>
Date: 2025-01-28 (Tue, 28 Jan 2025)
Changed paths:
M llvm/include/llvm/IR/BasicBlock.h
M llvm/lib/IR/BasicBlock.cpp
Log Message:
-----------
[NFC] Suppress spurious deprecation warning with MSVC (#124764)
gcc and clang won't complain about calls to deprecated functions, if
you're calling from a function that is deprecated too. However, MSVC
does care, and expands into maaany deprecation warnings for
getFirstNonPHI.
Suppress this by converting the inlineable copy of getFirstNonPHI into a
non-inline copy.
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list