clang 24.0.0git
ModuleUtils.cpp File Reference
#include "clang/CodeGenUtils/ModuleUtils.h"
#include "clang/AST/Attr.h"
#include "clang/Basic/TargetInfo.h"
#include "llvm/ADT/SetVector.h"

Go to the source code of this file.

Namespaces

namespace  clang
 Top level wrappers for InstallAPI frontend operations.
namespace  clang::CodeGenUtils

Functions

LangAS clang::CodeGenUtils::getGlobalConstantAddressSpace (const LangOptions &LangOpts, const TargetInfo &Target)
 Determines whether the language options require us to model unwind exceptions.
bool clang::CodeGenUtils::hasUnwindExceptions (const LangOptions &LangOpts)
bool clang::CodeGenUtils::isVarDeclStrongDefinition (const ASTContext &Ctx, const VarDecl *D, bool NoCommon)
 Check whether D is a strong definition, and thus must not be given common linkage.
bool clang::CodeGenUtils::shouldBeInCOMDAT (const ASTContext &Ctx, const Decl &D)
 Check whether D should be emitted into a COMDAT group.
llvm::SmallVector< Module *, 8 > clang::CodeGenUtils::importedModulesToInitialize (Module *Primary, llvm::ArrayRef< Module * > Imported)
 The C++20 named modules whose Itanium initializer function the global init function of a translation unit calls before the unit's own initializers, in call order.