We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9048fb4 commit 009da92Copy full SHA for 009da92
llvm/include/llvm/MC/TargetRegistry.h
@@ -737,7 +737,8 @@ struct TargetRegistry {
737
/// \param TripleStr - The triple to use for finding a target.
738
/// \param Error - On failure, an error string describing why no target was
739
/// found.
740
- // TODO: Drop this in favor of the method accepting Triple.
+ // TODO(boomanaiden154): Remove this function after LLVM 22 branches.
741
+ [[deprecated("Use overload accepting Triple instead")]]
742
static const Target *lookupTarget(StringRef TripleStr, std::string &Error) {
743
return lookupTarget(Triple(TripleStr), Error);
744
}
0 commit comments