xref: /freebsd/contrib/llvm-project/clang/include/clang/Sema/SemaAVR.h (revision 0fca6ea1d4eea4c934cfff25ac9ee8ad6fe95583)
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/Sema/SemaBase.h"
17 
18 namespace clang {
19 class Decl;
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