Thanks to visit codestin.com
Credit goes to clang.llvm.org

clang 22.0.0git
CIRGenDeclCXX.cpp
Go to the documentation of this file.
1//===----------------------------------------------------------------------===//
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 contains code dealing with code generation of C++ declarations
10//
11//===----------------------------------------------------------------------===//
12
13#include "CIRGenModule.h"
14#include "clang/AST/Attr.h"
16
17using namespace clang;
18using namespace clang::CIRGen;
19
21 cir::GlobalOp addr,
22 bool performInit) {
24
26
27 emitCXXGlobalVarDeclInit(vd, addr, performInit);
28}
Defines the clang::LangOptions interface.
void emitCXXGlobalVarDeclInit(const VarDecl *varDecl, cir::GlobalOp addr, bool performInit)
Emit the function that initializes the specified global.
void emitCXXGlobalVarDeclInitFunc(const VarDecl *vd, cir::GlobalOp addr, bool performInit)
Represents a variable declaration or definition.
Definition Decl.h:926
The JSON file list parser is used to communicate input to InstallAPI.
static bool deferredCXXGlobalInit()
static bool cudaSupport()