//===--- MacroArgs.h - Formal argument info for Macros ----------*- C++ -*-===// // // Part of the LLVM Project, under the Apache License v2.0 with LLVM Exceptions. // See https://llvm.org/LICENSE.txt for license information. // SPDX-License-Identifier: Apache-2.0 WITH LLVM-exception // //===----------------------------------------------------------------------===// // // This file defines the MacroArgs interface. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_LEX_MACROARGS_H #define LLVM_CLANG_LEX_MACROARGS_H #include "clang/Basic/LLVM.h" #include "clang/Lex/Token.h" #include "llvm/ADT/ArrayRef.h" #include "llvm/Support/TrailingObjects.h" #include <vector> namespace clang { class MacroInfo; class Preprocessor; class SourceLocation; /// MacroArgs - An instance of this class captures information about /// the formal arguments specified to a function-like macro invocation. class MacroArgs final : private llvm::TrailingObjects<MacroArgs, Token> { … }; } // end namespace clang #endif