clang API Documentation
#include "TargetAttributesSema.h"#include "clang/Sema/SemaInternal.h"#include "clang/Basic/TargetInfo.h"#include "clang/AST/DeclCXX.h"#include "llvm/ADT/Triple.h"
Go to the source code of this file.
Functions | |
| static void | HandleMSP430InterruptAttr (Decl *d, const AttributeList &Attr, Sema &S) |
| static void | HandleMBlazeInterruptHandlerAttr (Decl *d, const AttributeList &Attr, Sema &S) |
| static void | HandleMBlazeSaveVolatilesAttr (Decl *d, const AttributeList &Attr, Sema &S) |
| static void | HandleX86ForceAlignArgPointerAttr (Decl *D, const AttributeList &Attr, Sema &S) |
| static void | HandleDLLImportAttr (Decl *D, const AttributeList &Attr, Sema &S) |
| static void | HandleDLLExportAttr (Decl *D, const AttributeList &Attr, Sema &S) |
| static void HandleDLLExportAttr | ( | Decl * | D, |
| const AttributeList & | Attr, | ||
| Sema & | S | ||
| ) | [static] |
Definition at line 209 of file TargetAttributesSema.cpp.
References clang::Decl::addAttr(), clang::Sema::Diag(), clang::AttributeList::getLoc(), clang::AttributeList::getName(), clang::AttributeList::getNumArgs(), clang::AttributeList::getRange(), clang::FunctionDecl::isInlineSpecified(), and clang::Sema::mergeDLLExportAttr().
| static void HandleDLLImportAttr | ( | Decl * | D, |
| const AttributeList & | Attr, | ||
| Sema & | S | ||
| ) | [static] |
Definition at line 166 of file TargetAttributesSema.cpp.
References clang::Decl::addAttr(), clang::Sema::Diag(), clang::Sema::getLangOpts(), clang::AttributeList::getLoc(), clang::AttributeList::getName(), clang::AttributeList::getNumArgs(), clang::AttributeList::getRange(), clang::FunctionDecl::isInlineSpecified(), and clang::Sema::mergeDLLImportAttr().
| static void HandleMBlazeInterruptHandlerAttr | ( | Decl * | d, |
| const AttributeList & | Attr, | ||
| Sema & | S | ||
| ) | [static] |
Definition at line 74 of file TargetAttributesSema.cpp.
References clang::Decl::addAttr(), clang::Sema::Context, clang::Sema::Diag(), clang::AttributeList::getLoc(), and clang::AttributeList::getNumArgs().
| static void HandleMBlazeSaveVolatilesAttr | ( | Decl * | d, |
| const AttributeList & | Attr, | ||
| Sema & | S | ||
| ) | [static] |
Definition at line 89 of file TargetAttributesSema.cpp.
References clang::Decl::addAttr(), clang::Sema::Context, clang::Sema::Diag(), clang::AttributeList::getLoc(), and clang::AttributeList::getNumArgs().
| static void HandleMSP430InterruptAttr | ( | Decl * | d, |
| const AttributeList & | Attr, | ||
| Sema & | S | ||
| ) | [static] |
Definition at line 29 of file TargetAttributesSema.cpp.
References clang::Decl::addAttr(), clang::Sema::Context, clang::Sema::Diag(), clang::AttributeList::getArg(), clang::AttributeList::getLoc(), clang::AttributeList::getNumArgs(), clang::Stmt::getSourceRange(), and clang::Expr::isIntegerConstantExpr().
| static void HandleX86ForceAlignArgPointerAttr | ( | Decl * | D, |
| const AttributeList & | Attr, | ||
| Sema & | S | ||
| ) | [static] |
Definition at line 123 of file TargetAttributesSema.cpp.
References clang::Decl::addAttr(), clang::Sema::Context, clang::Sema::Diag(), clang::AttributeList::getLoc(), clang::AttributeList::getName(), clang::AttributeList::getNumArgs(), clang::AttributeList::getRange(), clang::ValueDecl::getType(), and clang::TypedefNameDecl::getUnderlyingType().