diff options
Diffstat (limited to 'contrib/llvm/tools/clang/lib/CodeGen/CGObjCRuntime.h')
-rw-r--r-- | contrib/llvm/tools/clang/lib/CodeGen/CGObjCRuntime.h | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/contrib/llvm/tools/clang/lib/CodeGen/CGObjCRuntime.h b/contrib/llvm/tools/clang/lib/CodeGen/CGObjCRuntime.h index 7f030f2..fc6bee3 100644 --- a/contrib/llvm/tools/clang/lib/CodeGen/CGObjCRuntime.h +++ b/contrib/llvm/tools/clang/lib/CodeGen/CGObjCRuntime.h @@ -156,8 +156,8 @@ public: Selector Sel, llvm::Value *Receiver, const CallArgList &CallArgs, - const ObjCInterfaceDecl *Class = 0, - const ObjCMethodDecl *Method = 0) = 0; + const ObjCInterfaceDecl *Class = nullptr, + const ObjCMethodDecl *Method = nullptr) = 0; /// Generate an Objective-C message send operation to the super /// class initiated in a method for Class and with the given Self @@ -175,7 +175,7 @@ public: llvm::Value *Self, bool IsClassMessage, const CallArgList &CallArgs, - const ObjCMethodDecl *Method = 0) = 0; + const ObjCMethodDecl *Method = nullptr) = 0; /// Emit the code to return the named protocol as an object, as in a /// \@protocol expression. @@ -268,7 +268,8 @@ public: const CodeGen::CGBlockInfo &blockInfo) = 0; virtual llvm::Constant *BuildByrefLayout(CodeGen::CodeGenModule &CGM, QualType T) = 0; - virtual llvm::GlobalVariable *GetClassGlobal(const std::string &Name) = 0; + virtual llvm::GlobalVariable *GetClassGlobal(const std::string &Name, + bool Weak = false) = 0; struct MessageSendInfo { const CGFunctionInfo &CallInfo; |