clang API Documentation

Namespaces | Enumerations | Functions
Attributes.h File Reference
#include "llvm/ADT/Triple.h"
#include "clang/Basic/LangOptions.h"
Include dependency graph for Attributes.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  clang

Enumerations

enum  clang::AttrSyntax {
  clang::Generic, clang::GNU, clang::Declspec, clang::CXX,
  clang::Pragma
}

Functions

int clang::hasAttribute (AttrSyntax Syntax, const IdentifierInfo *Scope, const IdentifierInfo *Attr, const llvm::Triple &T, const LangOptions &LangOpts)
 Return the version number associated with the attribute if we recognize and implement the attribute specified by the given information.