#include "clang/AST/ASTContext.h"
#include "clang/AST/Attr.h"
#include "clang/AST/Expr.h"
#include "clang/AST/Type.h"
#include <optional>
usingnamespaceclang;
void LoopHintAttr::printPrettyPragma(raw_ostream &OS,
const PrintingPolicy &Policy) const { … }
std::string LoopHintAttr::getValueString(const PrintingPolicy &Policy) const { … }
std::string
LoopHintAttr::getDiagnosticName(const PrintingPolicy &Policy) const { … }
void OMPDeclareSimdDeclAttr::printPrettyPragma(
raw_ostream &OS, const PrintingPolicy &Policy) const { … }
void OMPDeclareTargetDeclAttr::printPrettyPragma(
raw_ostream &OS, const PrintingPolicy &Policy) const { … }
std::optional<OMPDeclareTargetDeclAttr *>
OMPDeclareTargetDeclAttr::getActiveAttr(const ValueDecl *VD) { … }
std::optional<OMPDeclareTargetDeclAttr::MapTypeTy>
OMPDeclareTargetDeclAttr::isDeclareTargetDeclaration(const ValueDecl *VD) { … }
std::optional<OMPDeclareTargetDeclAttr::DevTypeTy>
OMPDeclareTargetDeclAttr::getDeviceType(const ValueDecl *VD) { … }
std::optional<SourceLocation>
OMPDeclareTargetDeclAttr::getLocation(const ValueDecl *VD) { … }
namespace clang {
llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const OMPTraitInfo &TI);
llvm::raw_ostream &operator<<(llvm::raw_ostream &OS, const OMPTraitInfo *TI);
}
void OMPDeclareVariantAttr::printPrettyPragma(
raw_ostream &OS, const PrintingPolicy &Policy) const { … }
unsigned AlignedAttr::getAlignment(ASTContext &Ctx) const { … }
#include "clang/AST/AttrImpl.inc"