Also, add an anchor as per http://llvm.org/docs/CodingStandards.html#ll_virtual_anch
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@156495
91177308-0d34-0410-b5e6-
96231b3b80d8
/// which is responsible for command line arguments modification before
/// the arguments are used to run a frontend action.
class ArgumentsAdjuster {
+ virtual void anchor();
public:
/// \brief Returns adjusted command line arguments.
///
///
/// \returns Modified sequence of command line arguments.
virtual CommandLineArguments Adjust(const CommandLineArguments &Args) = 0;
+ virtual ~ArgumentsAdjuster() {
+ }
};
/// \brief Syntax check only command line adjuster.
namespace clang {
namespace tooling {
+void ArgumentsAdjuster::anchor() {
+}
+
/// Add -fsyntax-only option to the commnand line arguments.
CommandLineArguments
ClangSyntaxOnlyAdjuster::Adjust(const CommandLineArguments &Args) {