clang
24.0.0git
include
clang
CodeGenUtils
FunctionUtils.h
Go to the documentation of this file.
1
//===--- FunctionUtils.h - Shared function emission queries -----*- C++ -*-===//
2
//
3
// Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions.
4
// See https://llvm.org/LICENSE.txt for license information.
5
// SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception
6
//
7
//===----------------------------------------------------------------------===//
8
//
9
// This file holds the queries that both classic CodeGen and CIR CodeGen need
10
// while emitting a function body.
11
//
12
//===----------------------------------------------------------------------===//
13
14
#ifndef LLVM_CLANG_CODEGENUTILS_FUNCTIONUTILS_H
15
#define LLVM_CLANG_CODEGENUTILS_FUNCTIONUTILS_H
16
17
#include "
clang/Basic/CodeGenOptions.h
"
18
#include "
clang/Basic/LangOptions.h
"
19
20
namespace
clang::CodeGenUtils
{
21
22
/// Decide whether we need to emit the lifetime markers.
23
bool
shouldEmitLifetimeMarkers
(
const
CodeGenOptions &CGOpts,
24
const
LangOptions &LangOpts);
25
26
}
// namespace clang::CodeGenUtils
27
28
#endif
// LLVM_CLANG_CODEGENUTILS_FUNCTIONUTILS_H
CodeGenOptions.h
LangOptions.h
Defines the clang::LangOptions interface.
clang::CodeGenUtils
Definition
CallUtils.h:21
clang::CodeGenUtils::shouldEmitLifetimeMarkers
bool shouldEmitLifetimeMarkers(const CodeGenOptions &CGOpts, const LangOptions &LangOpts)
Decide whether we need to emit the lifetime markers.
Definition
FunctionUtils.cpp:13
Generated on
for clang by
1.14.0