Details | Last modification | View Log | RSS feed
Rev | Author | Line No. | Line |
---|---|---|---|
14 | pmbaty | 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 | |||
12 | #include "clang/Basic/AttributeCommonInfo.h" |
||
13 | #include "clang/Basic/LangOptions.h" |
||
14 | #include "clang/Basic/TargetInfo.h" |
||
15 | |||
16 | namespace clang { |
||
17 | |||
18 | class IdentifierInfo; |
||
19 | |||
20 | /// Return the version number associated with the attribute if we |
||
21 | /// recognize and implement the attribute specified by the given information. |
||
22 | int hasAttribute(AttributeCommonInfo::Syntax Syntax, |
||
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 |