//===- TokenRewriter.h - Token-based Rewriter -------------------*- 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 TokenRewriter class, which is used for code // transformations. // //===----------------------------------------------------------------------===// #ifndef LLVM_CLANG_REWRITE_CORE_TOKENREWRITER_H #define LLVM_CLANG_REWRITE_CORE_TOKENREWRITER_H #include "clang/Basic/SourceLocation.h" #include "clang/Lex/Token.h" #include <cassert> #include <list> #include <map> #include <memory> namespace clang { class LangOptions; class ScratchBuffer; class SourceManager; class TokenRewriter { … }; } // namespace clang #endif // LLVM_CLANG_REWRITE_CORE_TOKENREWRITER_H