diff options
author | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-14 03:54:46 +0000 |
---|---|---|
committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-10-14 03:54:46 +0000 |
commit | e1f094546d40c9f563b5a0140ac3c3077a669be9 (patch) | |
tree | 9150c446dbe749d8878675d2e2d9a27ae6dfc562 /llvm/include/llvm/Support/CommandLine.h | |
parent | e58b4672adc7406f048307288b39f85dc1b17da1 (diff) | |
download | bcm5719-llvm-e1f094546d40c9f563b5a0140ac3c3077a669be9.tar.gz bcm5719-llvm-e1f094546d40c9f563b5a0140ac3c3077a669be9.zip |
Add `llvm::` in clEnumVal macro (NFC)
This allows to use llvm:cl::opt without `using namespace llvm;`
llvm-svn: 284190
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
-rw-r--r-- | llvm/include/llvm/Support/CommandLine.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index c20765d5d7f..692e16df041 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -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. |