Home | History | Annotate | Download | only in Core
      1 //===- BitcodeOption.cpp --------------------------------------------------===//
      2 //
      3 //                     The MCLinker Project
      4 //
      5 // This file is distributed under the University of Illinois Open Source
      6 // License. See LICENSE.TXT for details.
      7 //
      8 //===----------------------------------------------------------------------===//
      9 #include <mcld/BitcodeOption.h>
     10 
     11 using namespace mcld;
     12 
     13 //===----------------------------------------------------------------------===//
     14 // BitcodeOption
     15 //===----------------------------------------------------------------------===//
     16 BitcodeOption::BitcodeOption()
     17   : m_Position(-1) {
     18 }
     19 
     20 BitcodeOption::~BitcodeOption()
     21 {
     22 }
     23 
     24 bool BitcodeOption::hasDefined() const
     25 {
     26   return (m_Position != -1);
     27 }
     28