1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-11-24 19:52:54 +01:00

Add llvm:: in clEnumVal macro (NFC)

This allows to use llvm🆑:opt without `using namespace llvm;`

llvm-svn: 284190
This commit is contained in:
Mehdi Amini 2016-10-14 03:54:46 +00:00
parent ee622c1f15
commit dec4776a7d

View File

@ -565,9 +565,9 @@ struct OptionEnumValue {
};
#define clEnumVal(ENUMVAL, DESC) \
cl::OptionEnumValue { #ENUMVAL, int(ENUMVAL), DESC }
llvm::cl::OptionEnumValue { #ENUMVAL, int(ENUMVAL), DESC }
#define clEnumValN(ENUMVAL, FLAGNAME, DESC) \
cl::OptionEnumValue { FLAGNAME, int(ENUMVAL), DESC }
llvm::cl::OptionEnumValue { FLAGNAME, int(ENUMVAL), DESC }
// values - For custom data types, allow specifying a group of values together
// as the values that go into the mapping that the option handler uses.