clang 20.0.0git
Namespaces | Functions
DataCollection.cpp File Reference
#include "clang/AST/DataCollection.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"

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::data_collection
 

Functions

static void clang::data_collection::printMacroName (llvm::raw_string_ostream &MacroStack, ASTContext &Context, SourceLocation Loc)
 Prints the macro name that contains the given SourceLocation into the given raw_string_ostream.
 
std::string clang::data_collection::getMacroStack (SourceLocation Loc, ASTContext &Context)
 Returns a string that represents all macro expansions that expanded into the given SourceLocation.