summaryrefslogtreecommitdiffstats
path: root/lib/Sema/TargetAttributesSema.h
blob: 410c900222f6266c4f4f6e10cb942e9883e38cc0 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
//===--- TargetAttributesSema.h - Semantic Analysis For Target Attributes -===//
//
//                     The LLVM Compiler Infrastructure
//
// This file is distributed under the University of Illinois Open Source
// License. See LICENSE.TXT for details.
//
//===----------------------------------------------------------------------===//

#ifndef CLANG_SEMA_TARGETSEMA_H
#define CLANG_SEMA_TARGETSEMA_H

namespace clang {
  class Scope;
  class Decl;
  class AttributeList;
  class Sema;

  class TargetAttributesSema {
  public:
    virtual ~TargetAttributesSema();
    virtual bool ProcessDeclAttribute(Scope *scope, Decl *D,
                                      const AttributeList &Attr, Sema &S) const;
  };
}

#endif