Loading clang/lib/CodeGen/CGCall.h +304 −308 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ class AttributeList; class Function; class Type; class Value; } } // namespace llvm namespace clang { class ASTContext; Loading Loading @@ -135,8 +135,7 @@ public: return CGCallee(abstractInfo, functionPtr); } static CGCallee forDirect(llvm::FunctionCallee functionPtr, static CGCallee forDirect(llvm::FunctionCallee functionPtr, const CGCalleeInfo &abstractInfo = CGCalleeInfo()) { return CGCallee(abstractInfo, functionPtr.getCallee()); } Loading Loading @@ -259,8 +258,7 @@ public: /// CallArgList - Type for representing both the value and type of /// arguments in a call. class CallArgList : public SmallVector<CallArg, 8> { class CallArgList : public SmallVector<CallArg, 8> { public: CallArgList() : StackBase(nullptr) {} Loading Loading @@ -295,8 +293,8 @@ public: /// be used to emit a call. void addFrom(const CallArgList &other) { insert(end(), other.begin(), other.end()); Writebacks.insert(Writebacks.end(), other.Writebacks.begin(), other.Writebacks.end()); Writebacks.insert(Writebacks.end(), other.Writebacks.begin(), other.Writebacks.end()); CleanupsToDeactivate.insert(CleanupsToDeactivate.end(), other.CleanupsToDeactivate.begin(), other.CleanupsToDeactivate.end()); Loading @@ -305,8 +303,7 @@ public: StackBase = other.StackBase; } void addWriteback(LValue srcLV, Address temporary, llvm::Value *toUse) { void addWriteback(LValue srcLV, Address temporary, llvm::Value *toUse) { Writeback writeback = {srcLV, temporary, toUse}; Writebacks.push_back(writeback); } Loading Loading @@ -355,8 +352,7 @@ public: /// FunctionArgList - Type for representing both the decl and type /// of parameters to a function. The decl must be either a /// ParmVarDecl or ImplicitParamDecl. class FunctionArgList : public SmallVector<const VarDecl*, 16> { }; class FunctionArgList : public SmallVector<const VarDecl *, 16> {}; /// ReturnValueSlot - Contains the address where the return value of a /// function can be stored, and whether the address is volatile or not. Loading Loading
clang/lib/CodeGen/CGCall.h +304 −308 Original line number Diff line number Diff line Loading @@ -29,7 +29,7 @@ class AttributeList; class Function; class Type; class Value; } } // namespace llvm namespace clang { class ASTContext; Loading Loading @@ -135,8 +135,7 @@ public: return CGCallee(abstractInfo, functionPtr); } static CGCallee forDirect(llvm::FunctionCallee functionPtr, static CGCallee forDirect(llvm::FunctionCallee functionPtr, const CGCalleeInfo &abstractInfo = CGCalleeInfo()) { return CGCallee(abstractInfo, functionPtr.getCallee()); } Loading Loading @@ -259,8 +258,7 @@ public: /// CallArgList - Type for representing both the value and type of /// arguments in a call. class CallArgList : public SmallVector<CallArg, 8> { class CallArgList : public SmallVector<CallArg, 8> { public: CallArgList() : StackBase(nullptr) {} Loading Loading @@ -295,8 +293,8 @@ public: /// be used to emit a call. void addFrom(const CallArgList &other) { insert(end(), other.begin(), other.end()); Writebacks.insert(Writebacks.end(), other.Writebacks.begin(), other.Writebacks.end()); Writebacks.insert(Writebacks.end(), other.Writebacks.begin(), other.Writebacks.end()); CleanupsToDeactivate.insert(CleanupsToDeactivate.end(), other.CleanupsToDeactivate.begin(), other.CleanupsToDeactivate.end()); Loading @@ -305,8 +303,7 @@ public: StackBase = other.StackBase; } void addWriteback(LValue srcLV, Address temporary, llvm::Value *toUse) { void addWriteback(LValue srcLV, Address temporary, llvm::Value *toUse) { Writeback writeback = {srcLV, temporary, toUse}; Writebacks.push_back(writeback); } Loading Loading @@ -355,8 +352,7 @@ public: /// FunctionArgList - Type for representing both the decl and type /// of parameters to a function. The decl must be either a /// ParmVarDecl or ImplicitParamDecl. class FunctionArgList : public SmallVector<const VarDecl*, 16> { }; class FunctionArgList : public SmallVector<const VarDecl *, 16> {}; /// ReturnValueSlot - Contains the address where the return value of a /// function can be stored, and whether the address is volatile or not. Loading