mirror of
https://github.com/capstone-engine/llvm-capstone.git
synced 2024-12-11 17:08:42 +00:00
[TargetLibraryInfo] Define enumerator for no library function (NFC)
Add a null enumerator do designate no library function. llvm-svn: 370947
This commit is contained in:
parent
420cbb6190
commit
3b705ef712
@ -30,11 +30,12 @@ struct VecDesc {
|
||||
unsigned VectorizationFactor;
|
||||
};
|
||||
|
||||
enum LibFunc {
|
||||
enum LibFunc : unsigned {
|
||||
#define TLI_DEFINE_ENUM
|
||||
#include "llvm/Analysis/TargetLibraryInfo.def"
|
||||
|
||||
NumLibFuncs
|
||||
NumLibFuncs,
|
||||
NotLibFunc
|
||||
};
|
||||
|
||||
/// Implementation of the target library information.
|
||||
|
@ -1478,6 +1478,7 @@ bool TargetLibraryInfoImpl::isValidProtoForLibFunc(const FunctionType &FTy,
|
||||
return false;
|
||||
}
|
||||
case LibFunc::NumLibFuncs:
|
||||
case LibFunc::NotLibFunc:
|
||||
break;
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user