diff options
author | dim <dim@FreeBSD.org> | 2014-11-24 18:11:16 +0000 |
---|---|---|
committer | dim <dim@FreeBSD.org> | 2014-11-24 18:11:16 +0000 |
commit | 6148c19c738a92f344008aa3f88f4e008bada0ee (patch) | |
tree | d4426858455f04d0d8c25a2f9eb9ea5582ffe1b6 /contrib/llvm/tools/clang/lib/CodeGen/CGObjCRuntime.h | |
parent | 2c8643c6396b0a3db33430cf9380e70bbb9efce0 (diff) | |
parent | 173a4f43a911175643bda81ee675e8d9269056ea (diff) | |
download | FreeBSD-src-6148c19c738a92f344008aa3f88f4e008bada0ee.zip FreeBSD-src-6148c19c738a92f344008aa3f88f4e008bada0ee.tar.gz |
Merge clang 3.5.0 release from ^/vendor/clang/dist, resolve conflicts,
and preserve our customizations, where necessary.
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; |