From 34091ed6d5747c7d4acdc1ef6af75ce9b7a8adba Mon Sep 17 00:00:00 2001 From: patrick Date: Sun, 24 Dec 2017 23:15:17 +0000 Subject: Import LLVM 5.0.1 release including clang, lld and lldb. --- gnu/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'gnu/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h') diff --git a/gnu/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h b/gnu/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h index 753dd92f307..6a1fa487ed1 100644 --- a/gnu/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h +++ b/gnu/llvm/tools/clang/lib/CodeGen/CodeGenFunction.h @@ -1116,7 +1116,7 @@ private: auto IP = CGF.Builder.saveAndClearIP(); CGF.EmitBlock(Stack.back().ExitBlock.getBlock()); CodeGen(CGF); - CGF.EmitBranchThroughCleanup(Stack.back().ContBlock); + CGF.EmitBranch(Stack.back().ContBlock.getBlock()); CGF.Builder.restoreIP(IP); Stack.back().HasBeenEmitted = true; } @@ -2761,7 +2761,9 @@ public: /// and initializes them with the values according to OpenMP standard. /// /// \param D Directive (possibly) with the 'linear' clause. - void EmitOMPLinearClauseInit(const OMPLoopDirective &D); + /// \return true if at least one linear variable is found that should be + /// initialized with the value of the original variable, false otherwise. + bool EmitOMPLinearClauseInit(const OMPLoopDirective &D); typedef const llvm::function_ref