ldc/gen/objcgen.h
2016-03-23 23:54:49 -07:00

28 lines
803 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

//===-- gen/objcgen.cpp -----------------------------------------*- C++ -*-===//
//
// LDC the LLVM D compiler
//
// This file is distributed under the BSD-style LDC license. See the LICENSE
// file for details.
//
//===----------------------------------------------------------------------===//
//
// Functions for generating Objective-C method calls.
//
//===----------------------------------------------------------------------===//
#ifndef LDC_GEN_OBJCGEN_H
#define LDC_GEN_OBJCGEN_H
struct ObjcSelector;
namespace llvm {
class GlobalVariable;
class Triple;
}
bool objc_isSupported(const llvm::Triple &triple);
void objc_init();
void objc_Module_genmoduleinfo_classes();
llvm::GlobalVariable *objc_getMethVarRef(const ObjcSelector &sel);
#endif // LDC_GEN_OBJCGEN_H