clang 17.0.0git
Namespaces | Functions
DataCollection.cpp File Reference
#include "clang/AST/DataCollection.h"
#include "clang/Basic/SourceManager.h"
#include "clang/Lex/Lexer.h"
Include dependency graph for DataCollection.cpp:

Go to the source code of this file.


namespace  clang
namespace  clang::data_collection


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.