clang 20.0.0git
PPDirectiveParameter.h
Go to the documentation of this file.
1//===--- PPDirectiveParameter.h ---------------------------------*- 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// This file defines the base class for preprocessor directive parameters, such
10// as limit(1) or suffix(x) for #embed.
11//
12//===----------------------------------------------------------------------===//
13
14#ifndef LLVM_CLANG_LEX_PPDIRECTIVEPARAMETER_H
15#define LLVM_CLANG_LEX_PPDIRECTIVEPARAMETER_H
16
18
19namespace clang {
20
21/// Captures basic information about a preprocessor directive parameter.
24
25public:
27
28 SourceRange getParameterRange() const { return R; }
29};
30
31} // end namespace clang
32
33#endif
Defines the clang::SourceLocation class and associated facilities.
Captures basic information about a preprocessor directive parameter.
SourceRange getParameterRange() const
A trivial tuple used to represent a source range.
The JSON file list parser is used to communicate input to InstallAPI.