config root man

Current Path : /compat/linux/proc/68247/root/usr/src/contrib/llvm/tools/clang/include/clang/Driver/

FreeBSD hs32.drive.ne.jp 9.1-RELEASE FreeBSD 9.1-RELEASE #1: Wed Jan 14 12:18:08 JST 2015 root@hs32.drive.ne.jp:/sys/amd64/compile/hs32 amd64
Upload File :
Current File : //compat/linux/proc/68247/root/usr/src/contrib/llvm/tools/clang/include/clang/Driver/ObjCRuntime.h

//===--- ObjCRuntime.h - Objective C runtime features -----------*- C++ -*-===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef CLANG_DRIVER_OBJCRUNTIME_H_
#define CLANG_DRIVER_OBJCRUNTIME_H_

namespace clang {
namespace driver {

class ObjCRuntime {
public:
  enum Kind { GNU, NeXT };
private:
  unsigned RuntimeKind : 1;
public:
  void setKind(Kind k) { RuntimeKind = k; }
  Kind getKind() const { return static_cast<Kind>(RuntimeKind); }

  /// True if the runtime provides native ARC entrypoints.  ARC may
  /// still be usable without this if the tool-chain provides a
  /// statically-linked runtime support library.
  unsigned HasARC : 1;

  /// True if the runtime supports ARC zeroing __weak.
  unsigned HasWeak : 1;

  /// \brief True if the runtime supports subscripting methods.
  unsigned HasSubscripting : 1;

  /// True if the runtime provides the following entrypoint:
  ///   void objc_terminate(void);
  /// If available, this will be called instead of abort() when an
  /// exception is thrown out of an EH cleanup.
  unsigned HasTerminate : 1;

  ObjCRuntime() : RuntimeKind(NeXT), HasARC(false), HasWeak(false),
    HasSubscripting(false), HasTerminate(false) {}
};

}
}

#endif

Man Man