clang 20.0.0git
SemaAVR.h
Go to the documentation of this file.
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
19namespace clang {
20class ParsedAttr;
21
22class SemaAVR : public SemaBase {
23public:
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
Forward declaration of all AST node types.
const Decl * D
Decl - This represents one declaration (or definition), e.g.
Definition: DeclBase.h:86
ParsedAttr - Represents a syntactic attribute.
Definition: ParsedAttr.h:129
void handleSignalAttr(Decl *D, const ParsedAttr &AL)
Definition: SemaAVR.cpp:36
void handleInterruptAttr(Decl *D, const ParsedAttr &AL)
Definition: SemaAVR.cpp:23
Sema - This implements semantic analysis and AST building for C.
Definition: Sema.h:493
The JSON file list parser is used to communicate input to InstallAPI.