diff options
Diffstat (limited to 'lib/Option/Option.cpp')
| -rw-r--r-- | lib/Option/Option.cpp | 10 | 
1 files changed, 6 insertions, 4 deletions
diff --git a/lib/Option/Option.cpp b/lib/Option/Option.cpp index 736b939fe80b..4832e659f026 100644 --- a/lib/Option/Option.cpp +++ b/lib/Option/Option.cpp @@ -1,4 +1,4 @@ -//===--- Option.cpp - Abstract Driver Options -----------------------------===// +//===- Option.cpp - Abstract Driver Options -------------------------------===//  //  //                     The LLVM Compiler Infrastructure  // @@ -7,22 +7,24 @@  //  //===----------------------------------------------------------------------===// -#include "llvm/Option/Option.h" +#include "llvm/ADT/StringRef.h"  #include "llvm/ADT/Twine.h"  #include "llvm/Option/Arg.h"  #include "llvm/Option/ArgList.h" +#include "llvm/Option/Option.h" +#include "llvm/Option/OptTable.h" +#include "llvm/Support/Compiler.h"  #include "llvm/Support/Debug.h"  #include "llvm/Support/ErrorHandling.h"  #include "llvm/Support/raw_ostream.h" -#include <algorithm>  #include <cassert> +#include <cstring>  using namespace llvm;  using namespace llvm::opt;  Option::Option(const OptTable::Info *info, const OptTable *owner)    : Info(info), Owner(owner) { -    // Multi-level aliases are not supported. This just simplifies option    // tracking, it is not an inherent limitation.    assert((!Info || !getAlias().isValid() || !getAlias().getAlias().isValid()) &&  | 
