xref: /llvm-project/clang/include/clang/Sema/SemaAVR.h (revision 27d37ee4d067f42e9a46a0871d3cb961323e5c85)
1 //===----- SemaAVR.h ------- AVR target-specific routines -----*- 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 /// \file
9 /// This file declares semantic analysis functions specific to AVR.
10 ///
11 //===----------------------------------------------------------------------===//
12 
13 #ifndef LLVM_CLANG_SEMA_SEMAAVR_H
14 #define LLVM_CLANG_SEMA_SEMAAVR_H
15 
16 #include "clang/AST/ASTFwd.h"
17 #include "clang/Sema/SemaBase.h"
18 
19 namespace clang {
20 class ParsedAttr;
21 
22 class SemaAVR : public SemaBase {
23 public:
24   SemaAVR(Sema &S);
25 
26   void handleInterruptAttr(Decl *D, const ParsedAttr &AL);
27   void handleSignalAttr(Decl *D, const ParsedAttr &AL);
28 };
29 
30 } // namespace clang
31 
32 #endif // LLVM_CLANG_SEMA_SEMAAVR_H
33