diff options
author | Reid Kleckner <reid@kleckner.net> | 2014-07-26 01:30:05 +0000 |
---|---|---|
committer | Reid Kleckner <reid@kleckner.net> | 2014-07-26 01:30:05 +0000 |
commit | 3f76ac7daa8c51f833c2a36aaca8f152632e28f3 (patch) | |
tree | d4c0b26d55afb6f4f9896a5e9cf7c88f3a1c5499 /clang/lib/CodeGen/CodeGenFunction.h | |
parent | 6dcdaa6af33ab86f6284da7bc9eb8eb793528d61 (diff) | |
download | llvm-3f76ac7daa8c51f833c2a36aaca8f152632e28f3.zip llvm-3f76ac7daa8c51f833c2a36aaca8f152632e28f3.tar.gz llvm-3f76ac7daa8c51f833c2a36aaca8f152632e28f3.tar.bz2 |
Remove an extra parameter and C++11 for loop-ify this code
llvm-svn: 214003
Diffstat (limited to 'clang/lib/CodeGen/CodeGenFunction.h')
-rw-r--r-- | clang/lib/CodeGen/CodeGenFunction.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/clang/lib/CodeGen/CodeGenFunction.h b/clang/lib/CodeGen/CodeGenFunction.h index ccf7651..8dea7bd 100644 --- a/clang/lib/CodeGen/CodeGenFunction.h +++ b/clang/lib/CodeGen/CodeGenFunction.h @@ -1208,8 +1208,7 @@ public: void StartThunk(llvm::Function *Fn, GlobalDecl GD, const CGFunctionInfo &FnInfo); - void EmitCallAndReturnForThunk(GlobalDecl GD, llvm::Value *Callee, - const ThunkInfo *Thunk); + void EmitCallAndReturnForThunk(llvm::Value *Callee, const ThunkInfo *Thunk); /// GenerateThunk - Generate a thunk for the given method. void GenerateThunk(llvm::Function *Fn, const CGFunctionInfo &FnInfo, |