Coverage Report

Created: 2018-09-25 00:18

/Users/buildslave/jenkins/workspace/clang-stage2-coverage-R/llvm/include/llvm/ADT/ScopeExit.h
Line
Count
Source (jump to first uncovered line)
1
//===- llvm/ADT/ScopeExit.h - Execute code at scope exit --------*- C++ -*-===//
2
//
3
//                     The LLVM Compiler Infrastructure
4
//
5
// This file is distributed under the University of Illinois Open Source
6
// License. See LICENSE.TXT for details.
7
//
8
//===----------------------------------------------------------------------===//
9
//
10
// This file defines the make_scope_exit function, which executes user-defined
11
// cleanup logic at scope exit.
12
//
13
//===----------------------------------------------------------------------===//
14
15
#ifndef LLVM_ADT_SCOPE_EXIT_H
16
#define LLVM_ADT_SCOPE_EXIT_H
17
18
#include "llvm/Support/Compiler.h"
19
20
#include <type_traits>
21
#include <utility>
22
23
namespace llvm {
24
namespace detail {
25
26
template <typename Callable> class scope_exit {
27
  Callable ExitFunction;
28
  bool Engaged = true; // False once moved-from or release()d.
29
30
public:
31
  template <typename Fp>
32
12.6M
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>(llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0&&)
Line
Count
Source
32
362k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>((anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1&&)
Line
Count
Source
32
79
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
LoopInfo.cpp:llvm::detail::scope_exit<llvm::LoopInfo::erase(llvm::Loop*)::$_3>::scope_exit<llvm::LoopInfo::erase(llvm::Loop*)::$_3>(llvm::LoopInfo::erase(llvm::Loop*)::$_3&&)
Line
Count
Source
32
27.3k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_22>::scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_22>(llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_22&&)
Line
Count
Source
32
6.54M
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_23>::scope_exit<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_23>(llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_23&&)
Line
Count
Source
32
2.72M
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
IfConversion.cpp:llvm::detail::scope_exit<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>::scope_exit<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>((anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0&&)
Line
Count
Source
32
42
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
ResetMachineFunctionPass.cpp:llvm::detail::scope_exit<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>::scope_exit<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>((anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()&&)
Line
Count
Source
32
235k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
LoopUtils.cpp:llvm::detail::scope_exit<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>::scope_exit<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>(llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()&&)
Line
Count
Source
32
2.53M
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
CGCoroutine.cpp:llvm::detail::scope_exit<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>::scope_exit<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>(emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0&&)
Line
Count
Source
32
103
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
IRTranslator.cpp:llvm::detail::scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>::scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>(llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2&&)
Line
Count
Source
32
235k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
ASTWriter.cpp:llvm::detail::scope_exit<clang::ASTWriter::WriteComments()::$_4>::scope_exit<clang::ASTWriter::WriteComments()::$_4>(clang::ASTWriter::WriteComments()::$_4&&)
Line
Count
Source
32
3.49k
  explicit scope_exit(Fp &&F) : ExitFunction(std::forward<Fp>(F)) {}
33
34
  scope_exit(scope_exit &&Rhs)
35
      : ExitFunction(std::move(Rhs.ExitFunction)), Engaged(Rhs.Engaged) {
36
    Rhs.release();
37
  }
38
  scope_exit(const scope_exit &) = delete;
39
  scope_exit &operator=(scope_exit &&) = delete;
40
  scope_exit &operator=(const scope_exit &) = delete;
41
42
0
  void release() { Engaged = false; }
Unexecuted instantiation: AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::release()
Unexecuted instantiation: X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>::release()
Unexecuted instantiation: LoopInfo.cpp:llvm::detail::scope_exit<llvm::LoopInfo::erase(llvm::Loop*)::$_3>::release()
Unexecuted instantiation: ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_22>::release()
Unexecuted instantiation: ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_23>::release()
Unexecuted instantiation: IfConversion.cpp:llvm::detail::scope_exit<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>::release()
Unexecuted instantiation: ResetMachineFunctionPass.cpp:llvm::detail::scope_exit<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>::release()
Unexecuted instantiation: LoopUtils.cpp:llvm::detail::scope_exit<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>::release()
Unexecuted instantiation: CGCoroutine.cpp:llvm::detail::scope_exit<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>::release()
Unexecuted instantiation: IRTranslator.cpp:llvm::detail::scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>::release()
Unexecuted instantiation: ASTWriter.cpp:llvm::detail::scope_exit<clang::ASTWriter::WriteComments()::$_4>::release()
43
44
12.6M
  ~scope_exit() {
45
12.6M
    if (Engaged)
46
12.6M
      ExitFunction();
47
12.6M
  }
AArch64FrameLowering.cpp:llvm::detail::scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::~scope_exit()
Line
Count
Source
44
362k
  ~scope_exit() {
45
362k
    if (Engaged)
46
362k
      ExitFunction();
47
362k
  }
X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>::~scope_exit()
Line
Count
Source
44
79
  ~scope_exit() {
45
79
    if (Engaged)
46
79
      ExitFunction();
47
79
  }
LoopInfo.cpp:llvm::detail::scope_exit<llvm::LoopInfo::erase(llvm::Loop*)::$_3>::~scope_exit()
Line
Count
Source
44
27.3k
  ~scope_exit() {
45
27.3k
    if (Engaged)
46
27.3k
      ExitFunction();
47
27.3k
  }
ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_22>::~scope_exit()
Line
Count
Source
44
6.54M
  ~scope_exit() {
45
6.54M
    if (Engaged)
46
6.54M
      ExitFunction();
47
6.54M
  }
ScalarEvolution.cpp:llvm::detail::scope_exit<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_23>::~scope_exit()
Line
Count
Source
44
2.72M
  ~scope_exit() {
45
2.72M
    if (Engaged)
46
2.72M
      ExitFunction();
47
2.72M
  }
IfConversion.cpp:llvm::detail::scope_exit<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>::~scope_exit()
Line
Count
Source
44
42
  ~scope_exit() {
45
42
    if (Engaged)
46
42
      ExitFunction();
47
42
  }
ResetMachineFunctionPass.cpp:llvm::detail::scope_exit<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>::~scope_exit()
Line
Count
Source
44
235k
  ~scope_exit() {
45
235k
    if (Engaged)
46
235k
      ExitFunction();
47
235k
  }
LoopUtils.cpp:llvm::detail::scope_exit<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>::~scope_exit()
Line
Count
Source
44
2.53M
  ~scope_exit() {
45
2.53M
    if (Engaged)
46
2.53M
      ExitFunction();
47
2.53M
  }
CGCoroutine.cpp:llvm::detail::scope_exit<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>::~scope_exit()
Line
Count
Source
44
103
  ~scope_exit() {
45
103
    if (Engaged)
46
103
      ExitFunction();
47
103
  }
IRTranslator.cpp:llvm::detail::scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>::~scope_exit()
Line
Count
Source
44
235k
  ~scope_exit() {
45
235k
    if (Engaged)
46
235k
      ExitFunction();
47
235k
  }
ASTWriter.cpp:llvm::detail::scope_exit<clang::ASTWriter::WriteComments()::$_4>::~scope_exit()
Line
Count
Source
44
3.49k
  ~scope_exit() {
45
3.49k
    if (Engaged)
46
3.49k
      ExitFunction();
47
3.49k
  }
48
};
49
50
} // end namespace detail
51
52
// Keeps the callable object that is passed in, and execute it at the
53
// destruction of the returned object (usually at the scope exit where the
54
// returned object is kept).
55
//
56
// Interface is specified by p0052r2.
57
template <typename Callable>
58
LLVM_NODISCARD detail::scope_exit<typename std::decay<Callable>::type>
59
12.6M
make_scope_exit(Callable &&F) {
60
12.6M
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
12.6M
      std::forward<Callable>(F));
62
12.6M
}
AArch64FrameLowering.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>::type> llvm::make_scope_exit<llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0>(llvm::AArch64FrameLowering::emitEpilogue(llvm::MachineFunction&, llvm::MachineBasicBlock&) const::$_0&&)
Line
Count
Source
59
362k
make_scope_exit(Callable &&F) {
60
362k
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
362k
      std::forward<Callable>(F));
62
362k
}
X86FlagsCopyLowering.cpp:llvm::detail::scope_exit<std::__1::decay<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>::type> llvm::make_scope_exit<(anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1>((anonymous namespace)::X86FlagsCopyLoweringPass::runOnMachineFunction(llvm::MachineFunction&)::$_1&&)
Line
Count
Source
59
79
make_scope_exit(Callable &&F) {
60
79
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
79
      std::forward<Callable>(F));
62
79
}
LoopInfo.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::LoopInfo::erase(llvm::Loop*)::$_3>::type> llvm::make_scope_exit<llvm::LoopInfo::erase(llvm::Loop*)::$_3>(llvm::LoopInfo::erase(llvm::Loop*)::$_3&&)
Line
Count
Source
59
27.3k
make_scope_exit(Callable &&F) {
60
27.3k
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
27.3k
      std::forward<Callable>(F));
62
27.3k
}
ScalarEvolution.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_22>::type> llvm::make_scope_exit<llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_22>(llvm::ScalarEvolution::isImpliedCond(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::Value*, bool)::$_22&&)
Line
Count
Source
59
6.54M
make_scope_exit(Callable &&F) {
60
6.54M
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
6.54M
      std::forward<Callable>(F));
62
6.54M
}
ScalarEvolution.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_23>::type> llvm::make_scope_exit<llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_23>(llvm::ScalarEvolution::isImpliedViaMerge(llvm::CmpInst::Predicate, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, llvm::SCEV const*, unsigned int)::$_23&&)
Line
Count
Source
59
2.72M
make_scope_exit(Callable &&F) {
60
2.72M
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
2.72M
      std::forward<Callable>(F));
62
2.72M
}
IfConversion.cpp:llvm::detail::scope_exit<std::__1::decay<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>::type> llvm::make_scope_exit<(anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0>((anonymous namespace)::IfConverter::ValidForkedDiamond((anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&, unsigned int&, unsigned int&, (anonymous namespace)::IfConverter::BBInfo&, (anonymous namespace)::IfConverter::BBInfo&) const::$_0&&)
Line
Count
Source
59
42
make_scope_exit(Callable &&F) {
60
42
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
42
      std::forward<Callable>(F));
62
42
}
ResetMachineFunctionPass.cpp:llvm::detail::scope_exit<std::__1::decay<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>::type> llvm::make_scope_exit<(anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()>((anonymous namespace)::ResetMachineFunction::runOnMachineFunction(llvm::MachineFunction&)::'lambda'()&&)
Line
Count
Source
59
235k
make_scope_exit(Callable &&F) {
60
235k
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
235k
      std::forward<Callable>(F));
62
235k
}
LoopUtils.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>::type> llvm::make_scope_exit<llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()>(llvm::formDedicatedExitBlocks(llvm::Loop*, llvm::DominatorTree*, llvm::LoopInfo*, bool)::$_0::operator()(llvm::BasicBlock*) const::'lambda'()&&)
Line
Count
Source
59
2.53M
make_scope_exit(Callable &&F) {
60
2.53M
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
2.53M
      std::forward<Callable>(F));
62
2.53M
}
CGCoroutine.cpp:llvm::detail::scope_exit<std::__1::decay<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>::type> llvm::make_scope_exit<emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0>(emitSuspendExpression(clang::CodeGen::CodeGenFunction&, clang::CodeGen::CGCoroData&, clang::CoroutineSuspendExpr const&, (anonymous namespace)::AwaitKind, clang::CodeGen::AggValueSlot, bool, bool)::$_0&&)
Line
Count
Source
59
103
make_scope_exit(Callable &&F) {
60
103
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
103
      std::forward<Callable>(F));
62
103
}
IRTranslator.cpp:llvm::detail::scope_exit<std::__1::decay<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>::type> llvm::make_scope_exit<llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2>(llvm::IRTranslator::runOnMachineFunction(llvm::MachineFunction&)::$_2&&)
Line
Count
Source
59
235k
make_scope_exit(Callable &&F) {
60
235k
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
235k
      std::forward<Callable>(F));
62
235k
}
ASTWriter.cpp:llvm::detail::scope_exit<std::__1::decay<clang::ASTWriter::WriteComments()::$_4>::type> llvm::make_scope_exit<clang::ASTWriter::WriteComments()::$_4>(clang::ASTWriter::WriteComments()::$_4&&)
Line
Count
Source
59
3.49k
make_scope_exit(Callable &&F) {
60
3.49k
  return detail::scope_exit<typename std::decay<Callable>::type>(
61
3.49k
      std::forward<Callable>(F));
62
3.49k
}
63
64
} // end namespace llvm
65
66
#endif