diff options
| author | Reid Kleckner <reid@kleckner.net> | 2014-11-04 01:12:21 +0000 |
|---|---|---|
| committer | Reid Kleckner <reid@kleckner.net> | 2014-11-04 01:12:21 +0000 |
| commit | e1e1df83f937e1169831137362e63572a7fcc612 (patch) | |
| tree | 1047c7ea6b6c0d1a6dfcce0763194dbe5af060d6 /llvm/include/llvm/Support/CommandLine.h | |
| parent | e839965faa22d6ed5dd41402c80bd806eb8f6c26 (diff) | |
| download | bcm5719-llvm-e1e1df83f937e1169831137362e63572a7fcc612.tar.gz bcm5719-llvm-e1e1df83f937e1169831137362e63572a7fcc612.zip | |
Rename END_WITH_NULL to LLVM_END_WITH_NULL and move to Compiler.h
We shouldn't put this kind of attribute stuff in DataTypes.h.
Leave the END_WITH_NULL name for now so I can update clang without
making build spam.
llvm-svn: 221215
Diffstat (limited to 'llvm/include/llvm/Support/CommandLine.h')
| -rw-r--r-- | llvm/include/llvm/Support/CommandLine.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/llvm/include/llvm/Support/CommandLine.h b/llvm/include/llvm/Support/CommandLine.h index 751a3c8bce9..2b5c9c52979 100644 --- a/llvm/include/llvm/Support/CommandLine.h +++ b/llvm/include/llvm/Support/CommandLine.h @@ -513,9 +513,9 @@ public: } }; -template<class DataType> -ValuesClass<DataType> END_WITH_NULL values(const char *Arg, DataType Val, - const char *Desc, ...) { +template <class DataType> +ValuesClass<DataType> LLVM_END_WITH_NULL +values(const char *Arg, DataType Val, const char *Desc, ...) { va_list ValueArgs; va_start(ValueArgs, Desc); ValuesClass<DataType> Vals(Arg, Val, Desc, ValueArgs); |

