mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-11-24 11:42:57 +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:
parent
ee622c1f15
commit
dec4776a7d
@ -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.
|
||||
|
Loading…
Reference in New Issue
Block a user