clang  19.0.0git
Attributes.h
Go to the documentation of this file.
1 //===--- Attributes.h - Attributes header -----------------------*- C++ -*-===//
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 #ifndef LLVM_CLANG_BASIC_ATTRIBUTES_H
10 #define LLVM_CLANG_BASIC_ATTRIBUTES_H
11 
13 
14 namespace clang {
15 
16 class IdentifierInfo;
17 class LangOptions;
18 class TargetInfo;
19 
20 /// Return the version number associated with the attribute if we
21 /// recognize and implement the attribute specified by the given information.
23  const IdentifierInfo *Scope, const IdentifierInfo *Attr,
24  const TargetInfo &Target, const LangOptions &LangOpts);
25 
26 } // end namespace clang
27 
28 #endif // LLVM_CLANG_BASIC_ATTRIBUTES_H
llvm::MachO::Target Target
Definition: MachO.h:50
Syntax
The style used to specify an attribute.
The JSON file list parser is used to communicate input to InstallAPI.
int hasAttribute(AttributeCommonInfo::Syntax Syntax, const IdentifierInfo *Scope, const IdentifierInfo *Attr, const TargetInfo &Target, const LangOptions &LangOpts)
Return the version number associated with the attribute if we recognize and implement the attribute s...
Definition: Attributes.cpp:31