mirror of
				https://github.com/c64scene-ar/llvm-6502.git
				synced 2025-10-31 08:16:47 +00:00 
			
		
		
		
	Enforce that multiple return values have to have at least one result.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@50137 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
		| @@ -154,6 +154,10 @@ public: | ||||
|     const std::vector<const Type*> &Params, ///< The types of the parameters | ||||
|     bool isVarArg  ///< Whether this is a variable argument length function | ||||
|   ); | ||||
|    | ||||
|   /// isValidReturnType - Return true if the specified type is valid as a return | ||||
|   /// type. | ||||
|   static bool isValidReturnType(const Type *RetTy); | ||||
|  | ||||
|   inline bool isVarArg() const { return isVarArgs; } | ||||
|   inline const Type *getReturnType() const { return ContainedTys[0]; } | ||||
|   | ||||
		Reference in New Issue
	
	Block a user