diff options
Diffstat (limited to 'include/clang/Driver/Arg.h')
-rw-r--r-- | include/clang/Driver/Arg.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/include/clang/Driver/Arg.h b/include/clang/Driver/Arg.h index 6b07db9ffe..053d4458f2 100644 --- a/include/clang/Driver/Arg.h +++ b/include/clang/Driver/Arg.h @@ -109,7 +109,7 @@ namespace driver { } /// render - Append the argument onto the given array as strings. - virtual void render(const ArgList &Args, ArgStringList &Output) const = 0; + void render(const ArgList &Args, ArgStringList &Output) const; /// renderAsInput - Append the argument, render as an input, onto /// the given array as strings. The distinction is that some @@ -131,8 +131,6 @@ namespace driver { public: FlagArg(const Option *Opt, unsigned Index, const Arg *BaseArg = 0); - virtual void render(const ArgList &Args, ArgStringList &Output) const; - static bool classof(const Arg *A) { return A->getKind() == Arg::FlagClass; } @@ -145,8 +143,6 @@ namespace driver { PositionalArg(const Option *Opt, unsigned Index, const char *Value, const Arg *BaseArg = 0); - virtual void render(const ArgList &Args, ArgStringList &Output) const; - static bool classof(const Arg *A) { return A->getKind() == Arg::PositionalClass; } @@ -160,8 +156,6 @@ namespace driver { JoinedArg(const Option *Opt, unsigned Index, const char *Value, const Arg *BaseArg = 0); - virtual void render(const ArgList &Args, ArgStringList &Output) const; - static bool classof(const Arg *A) { return A->getKind() == Arg::JoinedClass; } @@ -175,8 +169,6 @@ namespace driver { SeparateArg(const Option *Opt, unsigned Index, const char *Value, const Arg *BaseArg = 0); - virtual void render(const ArgList &Args, ArgStringList &Output) const; - static bool classof(const Arg *A) { return A->getKind() == Arg::SeparateClass; } @@ -194,8 +186,6 @@ namespace driver { CommaJoinedArg(const Option *Opt, unsigned Index, const char *Str, const Arg *BaseArg = 0); - virtual void render(const ArgList &Args, ArgStringList &Output) const; - static bool classof(const Arg *A) { return A->getKind() == Arg::CommaJoinedClass; } @@ -210,8 +200,6 @@ namespace driver { const char *Value0, const char *Value1, const Arg *BaseArg = 0); - virtual void render(const ArgList &Args, ArgStringList &Output) const; - static bool classof(const Arg *A) { return A->getKind() == Arg::JoinedAndSeparateClass; } |