llvm/clang/lib/Analysis/MacroExpansionContext.cpp

//===- MacroExpansionContext.cpp - Macro expansion information --*- 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
//
//===----------------------------------------------------------------------===//

#include "clang/Analysis/MacroExpansionContext.h"
#include "llvm/Support/Debug.h"
#include <optional>

#define DEBUG_TYPE

static void dumpTokenInto(const clang::Preprocessor &PP, llvm::raw_ostream &OS,
                          clang::Token Tok);

namespace clang {
namespace detail {
class MacroExpansionRangeRecorder : public PPCallbacks {};
} // namespace detail
} // namespace clang

usingnamespaceclang;

MacroExpansionContext::MacroExpansionContext(const LangOptions &LangOpts)
    :{}

void MacroExpansionContext::registerForPreprocessor(Preprocessor &NewPP) {}

std::optional<StringRef>
MacroExpansionContext::getExpandedText(SourceLocation MacroExpansionLoc) const {}

std::optional<StringRef>
MacroExpansionContext::getOriginalText(SourceLocation MacroExpansionLoc) const {}

void MacroExpansionContext::dumpExpansionRanges() const {}
void MacroExpansionContext::dumpExpandedTexts() const {}

void MacroExpansionContext::dumpExpansionRangesToStream(raw_ostream &OS) const {}

void MacroExpansionContext::dumpExpandedTextsToStream(raw_ostream &OS) const {}

static void dumpTokenInto(const Preprocessor &PP, raw_ostream &OS, Token Tok) {}

void MacroExpansionContext::onTokenLexed(const Token &Tok) {}