clang 22.0.0git
MacroCallReconstructor.cpp File Reference

This file contains the implementation of MacroCallReconstructor, which fits an reconstructed macro call to a parsed set of UnwrappedLines. More...

#include "Macros.h"
#include "UnwrappedLineParser.h"
#include "clang/Basic/TokenKinds.h"
#include "llvm/ADT/DenseSet.h"
#include "llvm/Support/Debug.h"
#include <cassert>

Go to the source code of this file.

Namespaces

namespace  clang
 The JSON file list parser is used to communicate input to InstallAPI.
namespace  clang::format

Macros

#define DEBUG_TYPE   "format-reconstruct"

Functions

template<typename T>
void clang::format::forEachToken (const UnwrappedLine &Line, const T &Call, FormatToken *Parent=nullptr)

Detailed Description

This file contains the implementation of MacroCallReconstructor, which fits an reconstructed macro call to a parsed set of UnwrappedLines.

Definition in file MacroCallReconstructor.cpp.

Macro Definition Documentation

◆ DEBUG_TYPE

#define DEBUG_TYPE   "format-reconstruct"

Definition at line 24 of file MacroCallReconstructor.cpp.